[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Wild card Subscriptions

ataylor do-not-reply at jboss.com
Mon Sep 15 05:12:24 EDT 2008


anonymous wrote : We should also allow a jms client to just create a JBossTopic instance directly specifying the wildcard. 
Yes definitely, some vendors also use jndi, i.e. jndi.loopup("/topic/atopic/*") but I'mnot sure whether we would want this or how east it would be since we don't have our own jndi impl.

 anonymous wrote : Also how is this used via the core api? 

At the minute it would need to be something like

  |          SimpleString wildCardQ = new SimpleString("queuejms.#");
  |          clientSession.createQueue(wildCardQ, wildCardQ, ......);
  |          ClientConsumer clientConsumer = clientSession.createConsumer(wildCardQ);
  | 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176441#4176441

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176441



More information about the jboss-dev-forums mailing list