Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I create a Queue/Topic or lookup a Queue/Topic in VisiMessage ?

0
Posted

How do I create a Queue/Topic or lookup a Queue/Topic in VisiMessage ?

0

The best way to see how this is done is to look at the examples. In VisiMessage, we have the concept of a domain. To lookup a Queue/Topic via JNDI, you can do it as ctx.lookup(/MQueues/). To create a queue, you can simply do it as session.createQueue(). You don’t need to specify the domain name, as the queue or topic will automatically be created in the domain to which the connection factory for the session belongs.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.