Configuring destinations
Configuring and creating destinations is quite easy. You can rely on the Web console, or the CLI. As already mentioned in previous chapters, knowing CLI commands gives you more flexibility and a deeper knowledge of the entire platform. For these same reasons, we will see how to configure your destinations using the CLI.
To create a destination named testQueue
, do as follows:
[[email protected]:9990 /] jms-queue add --queue-address=jms.queue.TestQueue --entries=java:/jms/queue/testQueue
If running in domain mode, just add the --profile
directive, specifying the profile name to use, as follows:
[[email protected]:9999 /] jms-queue add --queue-address=jms.queue.TestQueue --entries=java:/jms/queue/testQueue --profile=full
In case you want to create a topic, there is a command analogous to jms-queue
, as follows:
[[email protected]:9990 /] jms-topic add --topic-address=jms.topic.TestTopic --entries=java:/jms/topic/testTopic
If running in domain mode, just...