Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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. 
  2. In the Main tab, click Queues -> Add. The Add Queue screen will open.
  3. Enter 'testQueue' as the name in the Queue Name field as shown below.
    Image RemovedImage Added
  4. Click Add Queue and the new queue will be listed in the Queue List page as shown below.
    Image RemovedImage Added
    You can access the Queue List page by clicking Queues -> List in the Main tab of the navigator.

...

  1. Open a command prompt and navigate to the <JMS_CLIENTS_HOME> directory on your computer.
  2. Execute the following command, which will publish 10 messages to the queue named 'testQueue':

    Code Block
    ant queuePublisher
  3. Go to the management console.
  4. In the Main tab, click Queues -> List. You can see that 10 messages have been published to the queue as shown below.
    Image RemovedImage Added
  5. Click Browse to see details of the messages received.

...

  1. Open a command prompt and navigate to the <JMS_CLIENTS_HOME> directory on your computer.
  2. Execute the following command, to create a subscription to the 'testQueue' queue.

    Code Block
    ant queueSubscriber
  3. The 10 messages in the queue have been successfully consumed by the subscriber. You can verify this from the terminal log:
    Image RemovedImage Added
  4. 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.