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 <moonb...@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

Reply via email to