camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Cannot Autowire consumerTemplate for client test
Date Wed, 05 Aug 2009 01:28:39 GMT
Hi,

According the document of ActiveMQ[1], it should work.
Maybe we should as help from ActiveMQ mail list.

[1] http://activemq.apache.org/subscriberName-destinations.html

Willem

Mick Knutson wrote:
> Tell me if this is correct:
> 
> Basically, I create a Virtual topic as a destination for a new Message I
> create and send it to: "*jms:VirtualTopic.Table.123*"
> 
> Then by using a remote client running a MDP, I can have each client
> subscribe to "*jms:Player.A.VirtualTopic.Table.123*", "*
> jms:Player.B.VirtualTopic.Table.123*", "*jms:Player.C.VirtualTopic.Table.123
> *", etc...
> 
> 
> This will essentially give me, in AMQ, 1 topic for
> *VirtualTopic.Table.123*and then for each client I start, I should be
> able to get a message on a
> queue "*Player.A.VirtualTopic.Table.123*" ???
> 
> Just seems like I am missing something on the creation of the Virtual Topics
> and the Queues the consumer(s) connect to.
> 
> 
> ---
> Thank You…
> 
> Mick Knutson, President
> 
> BASE Logic, Inc.
> Enterprise Architecture, Design, Mentoring & Agile Consulting
> p. (866) BLiNC-411: (254-6241-1)
> f. (415) 685-4233
> 
> Website: http://baselogic.com
> Linked IN: http://linkedin.com/in/mickknutson
> Vacation Rental: http://tahoe.baselogic.com
> ---
> 
> 
> 
> On Tue, Aug 4, 2009 at 10:22 AM, Willem Jiang <willem.jiang@gmail.com>wrote:
> 
>> Hi,
>>
>> Here is JMS listener[1] which I mean.
>>
>> [1]
>> http://static.springsource.org/spring/docs/2.5.x/reference/jms.html#jms-mdp
>>
>> Willem
>>
>>
>> Mick Knutson wrote:
>>
>>> Thanks for the test example. I am going to look at this.
>>>
>>> But I do not understand the concept of the listener you speak of. Is there
>>> a
>>> page on this concept? An example?
>>>
>>> ---
>>> Thank You…
>>>
>>> Mick Knutson, President
>>>
>>> BASE Logic, Inc.
>>> Enterprise Architecture, Design, Mentoring & Agile Consulting
>>> p. (866) BLiNC-411: (254-6241-1)
>>> f. (415) 685-4233
>>>
>>> Website: http://baselogic.com
>>> Linked IN: http://linkedin.com/in/mickknutson
>>> Vacation Rental: http://tahoe.baselogic.com
>>> ---
>>>
>>>
>>>
>>> On Mon, Aug 3, 2009 at 11:49 PM, Willem Jiang <willem.jiang@gmail.com
>>>> wrote:
>>>  Hi,
>>>> You can take a look at the camel-jms's unit test[1] for starting the
>>>> activeMQ server.
>>>>
>>>> For the multiple client , maybe you need to create some listener with
>>>> separated thread to check the status message.
>>>>
>>>> [1]
>>>>
>>>> https://svn.apache.org/repos/asf/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/temp/TemporaryQueueRouteTest.java
>>>>
>>>> Willem
>>>>
>>>>
>>>> Mick Knutson wrote:
>>>>
>>>>  I ma using Java DSL right now for the routing.
>>>>> And just to make sure I am going down the correct path, here is what
I
>>>>> am
>>>>> trying to do with these consumers:
>>>>>
>>>>> I want a server to create a Status Message to a TOPIC. I then want
>>>>> remote
>>>>> Consumers to get this message they are subscribing to.
>>>>>
>>>>> I tried to use the visio stencils you have here.
>>>>>
>>>>> The issue is how would I create a unit test for this to ensure multiple
>>>>> clients get this message?
>>>>>
>>>>> ---
>>>>> Thank You…
>>>>>
>>>>> Mick Knutson, President
>>>>>
>>>>> BASE Logic, Inc.
>>>>> Enterprise Architecture, Design, Mentoring & Agile Consulting
>>>>> p. (866) BLiNC-411: (254-6241-1)
>>>>> f. (415) 685-4233
>>>>>
>>>>> Website: http://baselogic.com
>>>>> Linked IN: http://linkedin.com/in/mickknutson
>>>>> Vacation Rental: http://tahoe.baselogic.com
>>>>> ---
>>>>>
>>>>>
>>>>>
>>>>>
> 


Mime
View raw message