[jboss-user] [JBossMQ] - Re: Can the Code get a QueueConnection objcect per request

2009-03-26 Thread vandana_awat
Hi Adrian 
i had a confusion as you said ConnectionFactory is for remote client connection 
and java:/JmsXA is for pooled/transacted within container apps. 

does this mean  that we cannot leverage JMS connection pooling of JBOSS from 
standalone Java clients ? 

IS there any way we could have a pooling mechanisms for JMS connections or 
sessions  for standalone java class.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221261#4221261

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221261
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossMQ] - Re: Can the Code get a QueueConnection objcect per request

2009-03-26 Thread adr...@jboss.org
Remote access to a pool is an anti-pattern.

The serverside JMS semantics are different to client semantics anyway.

Either create the pool inside the client (although for a normal java client its 
better
to just create one connection and then create session as required - e.g. per 
thread)
Or use an SLSB to give remote access, there's an old example of such an EJB on 
the WIKI.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221320#4221320

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221320
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user