end JMS chapter