This content has been marked as final.
Show 2 replies
-
1. Re: How to create topic with core API?
into_java Jul 18, 2011 1:21 AM (in response to marsqing)you can create multple consumers on the same address and this will create the topic kind of architecture you want to have.
-
2. Re: How to create topic with core API?
marsqing Jul 18, 2011 1:59 AM (in response to into_java)Session.createConsumer(String queueName)
Session.createProducer(String address)
Unlike procuder, We can only create consumers to queues but not addresses.
From the manual
"
In core, there is no concept of a Topic, Topic is a JMS only term. Instead, in core,
we just deal with addresses and queues.
For example, a JMS topic would be implemented by a single address to which
many queues are bound. Each queue represents a subscription of the topic.
"