Java Reference
In-Depth Information
Click here to view code image
MESSAGE BEAN: Message received: This is message 1
MESSAGE BEAN: Message received: This is message 2
MESSAGE BEAN: Message received: This is message 3
The received messages may appear in a different order from the order in which
they were sent.
Removing the Administered Objects for the simplemessage Example
After you run the example, you can use NetBeans IDE to remove the connection factory
and queue, as described in To Delete JMS Resources Using NetBeans IDE ” on page
382 . If you are not using NetBeans IDE, you can use the asadmin list-jms-re-
sources command to list the resources, and the asadmin delete-jms-resource
command to remove each one.
Search WWH ::




Custom Search