On Oct 31, 2006, at 10:06 PM, Jason Dillon wrote:
Do client-side consumers use the activemq.car? I really don't know
where this is used... if it is for clients, then I can
understand... but if this is only used in the server, then it
should use the vm:// transport for efficiency.
This is a rar configuration bit, so it is local to the vm it is
installed in..... since this is a server side car, it's going to be
running in the server, and connecting to the broker running in the
same vm. Therefore I think that vm transport is appropriate. I have
a vague recollection that when we first got the tck jms tests to pass
the vm transport didn't really work so we used tcp even locally.
Hopefully this is now fixed.
To use jms in a j2ee app client you need to install the rar in the
app client: we don't ship a car for this (although there's one in the
tck setup), and this would have to use tcp.... unless you wanted to
run a broker in the app client.
thanks
david jencks
--jason
On Oct 31, 2006, at 9:55 PM, Bruce Snyder wrote:
On 10/31/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
Its currently configured with:
<config-property-setting name="ServerUrl">tcp://$
{PlanServerHostname}:
${PlanActiveMQPort}</config-property-setting>
If this resourceadapter is used with in the server, then it should
use the vm:// transport.
Anyone know?
I'm not sure, but I hazard a guess that this was so that client-side
consumers can connect to ActiveMQ. If a vm:// transport is used, then
ActiveMQ is not exposed outside the JVM.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D
\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/