geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Re: Why is the activemq.car using the tcp transport?
Date Thu, 02 Nov 2006 22:08:09 GMT
near-useless?  is it there just as an example then?

--jason


On Nov 1, 2006, at 12:56 AM, David Jencks wrote:

>
> On Nov 1, 2006, at 12:19 AM, Jason Dillon wrote:
>
>> So, the activemq.car is used to make jms connections for mdbs and  
>> other jms resources?
>
> yes.  It's kind of near-useless except as an example since it  
> doesn't include any admin objects (queues or topics) any real app  
> is going to use.  As an example of how do use j2ee-jms it's fine.
>
> thanks
> david jencks
>
>>
>> --jason
>>
>>
>> On Nov 1, 2006, at 12:13 AM, David Jencks wrote:
>>
>>>
>>> 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 <jason@planet57.com> 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)U8V4\@4VYY9&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/
>>>>
>>>
>>
>


Mime
View raw message