everson . [http://community.jboss.org/people/everjava] created the discussion

"Re: access queue from different servers"

To view the discussion, visit: http://community.jboss.org/message/630747#630747

--------------------------------------------------------------
i solved as below

send from server A
|  |  | Properties jndiProps = new Properties(); |
|  |  | jndiProps.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory"); |
|  |  | jndiProps.put(Context.URL_PKG_PREFIXES, 
"org.jboss.naming:org.jnp.interfaces"); |
|  |  | jndiProps.put(Context.PROVIDER_URL, "jnp://1.1.1.1:1099"; |
|  |  | InitialContext initialContext = new InitialContext(jndiProps); |

server B(1.1.1.1)
Message drive bean
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/630747#630747]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to