activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eldictson <eldict...@yahoo.com>
Subject createTopic & createQueue behavior different than JMS API
Date Wed, 10 Oct 2007 21:08:09 GMT

Was wondering the Session createTopic() & createQueue() methods dynamically
creates physical topics and queues in the ActiveMQ broker when the JMS API
docs specify the following:

createTopic
public Topic createTopic(java.lang.String topicName)
                  throws JMSException

Creates a topic identity given a Topic name. 
This facility is provided for the rare cases where clients need to
dynamically manipulate topic identity. This allows the creation of a topic
identity with a provider-specific name. Clients that depend on this ability
are not portable. 

Note that this method is not for creating the physical topic. The physical
creation of topics is an administrative task and is not to be initiated by
the JMS API. The one exception is the creation of temporary topics, which is
accomplished with the createTemporaryTopic method.

Thanks
-- 
View this message in context: http://www.nabble.com/createTopic---createQueue-behavior-different-than-JMS-API-tf4603635s2354.html#a13144881
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message