Which type of JMS server and which distribution of JBOSS
J'm using stable version jboss 3.2.2 and build in JMS support.
My question was if it's possible build something like server-server connection model using direct connection between providers.
Please elaborate. What are you trying to do?
I'm guessing you want one server to be the client of the other server. If that is the case, you'll need to figure out what is to be passed from one server to the next.
You could create a generic MBean that listens to one JMS Queue/Topic on provider and propogates all messages to a secondary server. You'll have to decided on how to deploy that. Do you want 1 master Provider with knowledge of children servers, or 1 master provider with no knowledge and each child server knowledge of a its master.
From this generic mbean, you can create all sorts of topologies and propogation.