activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: ActiveMQResourceAdapter and vm://localhost transport
Date Mon, 07 Aug 2006 11:39:19 GMT
You may be creating 2 embedded brokers if you are not careful about
your lifecycles and dependencies in your spring.xml

On 8/7/06, Eugene Prokopiev <prokopiev@stc.donpac.ru> wrote:
> Hi,
>
> Is it possible to use vm://localhost transport to connect to AMQ using
> ActiveMQResourceAdapter? If I use it in this description
>
> <bean id="jmsResourceAdapter"
> class="org.apache.activemq.ra.ActiveMQResourceAdapter" depends-on="broker">
>         <property name="serverUrl">
>                 <value>vm://localhost</value>
>         </property>
> </bean>
>
> I can't consume any messages but if I replace vm://localhost with
> tcp://localhost:port all works fine
>
> --
> Thanks,
> Eugene Prokopiev
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message