[jboss-user] [Messaging, JMS & JBossMQ] - Re: Configure queues/topics at application level, Possible?

jazir1979 do-not-reply at jboss.com
Sun May 27 22:02:31 EDT 2007


Well, after thinking about it, I guess this makes perfect sense.  If you had a remote client, or a client outside of your app, there'd be no way to know which queue/application it intended to send the message to.

So, ignore this ;)

"jazir1979" wrote : 
  | This is causing me grief, because we want two different versions of the same app deployed into the same JBoss instance.
  | 
  | I have it all working, with two different web context-roots and two loader-repository names which isolates the EJBs just fine.
  | 
  | But if I need different queue names for different instances of my EAR, it will be a real pain, as the queue name is referenced by clients and in the EAR config.
  | 
  | Is there really no way to make queues application-level?
  | 
  | "jaikiran" wrote : Thank you genman, for sharing your thoughts.
  |   | 
  |   | anonymous wrote : Why can't you create two queues called MyQueue1 and MyQueue2 ? 
  |   | 
  |   | I can very well do that and that is going to work without any issues.
  |   | 
  |   | But, we do have a requirement where we need to deploy 2 applications which listen on a queue with the same name. The issue here is that i have to set different configurations on the queue depending on the application(one configuration setting is the SecurityConf on the queue). It's something like, for app1 the queue with name ABC with require a different configuration and for app2 the same queue will require a different configuration.
  |   | 
  |   | So far it appears that this is not possible. So am thinking of using 2 different queues in these 2 applications(this would require some changes in the code of the applications, though).  Isnt this kind of requirement of having queues isolated at application level, encountered ever before?
  |   | 
  |   | Any suggestions are welcome.
  |   | 
  |   | 
  |   |  

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

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



More information about the jboss-user mailing list