Sample ApplicationA sample job monitor application is delivered in the Enabling Durable MessagingBy default, the messaging configuration of an MDB is non-durable. This means that if the MDB application is not running at the time a job event is generated, the event is discarded. The application is not aware that it missed events when it is restarted. This configuration is the most efficient and suitable for many applications. However, if the MDB application must be (reliably) notified of all job events (even events that occurred when the MDB application was not running), the message configuration must be changed. This can be changed in the MDB application’s XML deployment descriptor, or it can be specified in annotations in the MDB source code. The example application uses annotations similar to the following to define the deployment options, including message durability: @MessageDriven (mappedName = "fiper/jms/jobmonitor", activationConfig = { @ActivationConfigProperty (propertyName="destinationType",propertyValue="javax.jms. Topic"), @ActivationConfigProperty ( propertyName="subscriptionDurability", propertyValue="NonDurable" ) }) Changing the " |