Java Reference
In-Depth Information
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
sources
command to list the resources, and the
asadmin delete-jms-resource
command to remove each one.