activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: JNDI with ActiveMQ embedded in JBoss AS
Date Wed, 26 Aug 2009 12:01:47 GMT
use both! let the remote clients use the activemq initial context factory
and let components within jboss use the jboss provider.

2009/8/26 moonbird <moonbird@ymail.com>

>
> http://www.jboss.org/index.html?module=bb&op=viewtopic&t=160367
>
> ... here you find more information in detail.
>
> I think using:
>
> // this is from http://activemq.apache.org/jndi-support.html
>
>
> //props.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.apache.activemq.jndi.ActiveMQInitialContextFactory");
>
>  //props.setProperty(Context.PROVIDER_URL,"tcp://localhost:61616");
>
> is ony - if you use the jndi support of activemq - but - I have embedded
> ActiveMQ in JBoss5 so I think I have to use JNDI support of the JBoss, or ?
> --
> View this message in context:
> http://www.nabble.com/JNDI-with-ActiveMQ-embedded-in-JBoss-AS-tp25151104p25151104.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message