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: AMQ integration with JBoss - Failover to TCP when trying to use VM protocol
Date Tue, 13 Apr 2010 08:55:21 GMT
The vm transport is enabled by default on the broker. To use it from the
RAR, you just need to use 'vm://localhost' in the ServerUrl config property
in the ra.xml or override it via the appserver config.

On 12 April 2010 23:31, Tammer Salem <tammer.salem@googlemail.com> wrote:

> Hello All,
> I'm having some problems with my AMQ/JBoss integration. I've followed the
> guide as specified on the site:
> http://activemq.apache.org/integrating-apache-activemq-with-jboss.html
>
> Everything works fine - except when I've come to fire a message (from
> within
> JBoss) I expect it to use the vm:// protocol. Instead I get a failover
> message and it tells me that it's using TCP instead.
> First off it's great that it can recover from this and still actually send
> out a message, but I feel like communicating over TCP/IP within the same VM
> is a bit silly.
>
> My question here is if I've defined the vm:// protocol in the ra.xml and my
> data source file, does it also need to be configured in the
> broker-config.xml as a separate broker?
>
> regards,
> Tammer
>



-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

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