arjan tijms [
http://community.jboss.org/people/atijms] replied to the discussion
"Connection pool for ClusteredConnectionFactory, how to ?"
To view the discussion, visit:
http://community.jboss.org/message/548707#548707
--------------------------------------------------------------
Something that is not entirely clear to me from that wiki page is how to use JMS
connection pooling in combination with a remote queue.
In some examples I see that the JMS connection factory is obtained from the JNDI of the
remote server, after which the topic or queue is also retrieved from that remote JNDI, and
then the message is sent. I.e. this example:
http://blog.emmanuelbernard.com/2008/08/remotely-send-and-consume-message...
http://blog.emmanuelbernard.com/2008/08/remotely-send-and-consume-message...
However, other code snippets I see obtain a connection from the local connection factory,
and then use this local connection with the queue obtained from the remote JNDI. That
method is used in this post:
http://community.jboss.org/thread/49409
http://community.jboss.org/thread/49409.
Intuitively it seems awkward to use local connections to reach a remote queue. With this
mechanism, does the same pool then contains both local and remote connections? Is it
possible at all to create different pools and size these differently? By default there is
of course only one java:JmsXA.
Help or pointers would be greatly appreciated.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/548707#548707]
Start a new discussion in JBoss Messaging at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]