[
https://jira.jboss.org/jira/browse/JBMESSAGING-1615?page=com.atlassian.ji...
]
Howard Gao commented on JBMESSAGING-1615:
-----------------------------------------
Yes, as Tim said, the topic will be ready after the deployTopic(String, String) has
successfully returned.
Programmatic way to check the state of a topic
----------------------------------------------
Key: JBMESSAGING-1615
URL:
https://jira.jboss.org/jira/browse/JBMESSAGING-1615
Project: JBoss Messaging
Issue Type: Feature Request
Affects Versions: 1.4.1.GA
Reporter: Colin Mondesir
Assignee: Howard Gao
Priority: Minor
When the deployTopic(String, String) method is called we have found there is a slight
delay before the topic is available to create MessageConsumer.
Is there a programmatic way of checking the state that the topic is in, so that we
don't have to wait an arbitrary period of time before creating the Consumer?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira