...
- Log in to the management console using the credentials of the default system administrator: admin/admin.
You will now be logging into the super tenant domain. - In the Main tab, click Queues -> Add. The Add Queue screen will open.
- Enter 'testQueue' as the name in the Queue Name field as shown below.
- Click Add Queue and the new queue will be listed in the Queue List page as shown below.
You can access the Queue List page by clicking Queues -> List in the Main tab of the navigator.
...
- Open a command prompt and navigate to the
<JMS_CLIENTS_HOME>
directory on your computer. Execute the following command, which will publish 10 messages to the queue named 'testQueue':
Code Block ant queuePublisher
- Go to the management console.
- In the Main tab, click Queues -> List. You can see that 10 messages have been published to the queue as shown below.
- Click Browse to see details of the messages received.
...
- Open a command prompt and navigate to the
<JMS_CLIENTS_HOME>
directory on your computer. Execute the following command, to create a subscription to the 'testQueue' queue.
Code Block ant queueSubscriber
- The 10 messages in the queue have been successfully consumed by the subscriber. You can verify this from the terminal log:
- Go to the management console and click Queues -> List in the Main tab. You can see that the 10 messages that were stored in the queue are no longer there.