Yes you can, but the provider will wait for the response on this
queue.  If you don't want this behavior, you'd need the EIP
AsyncBridge so that the JMS provider receives an InOnly mep and the
response would come from another jms consumer.  However, you'd have to
make sure the needed properties to correlate the response to the
request are forwarded in the jms messages.

On Mon, Jul 28, 2008 at 12:16 PM, Håkon Sagehaug <[EMAIL PROTECTED]> wrote:
> Hi
>
> Can I specify on the replayDestinationName that I wan tit to go through
> another queue, e.g myResponseQueue?
>
> cheers, Håkon
>
> 2008/7/28 Guillaume Nodet <[EMAIL PROTECTED]>
>
>> The response would have to go through servicemix-jms consumer,
>> provider and back to the original cxf consumer.
>>
>> On Mon, Jul 28, 2008 at 10:42 AM, Håkon Sagehaug <[EMAIL PROTECTED]>
>> wrote:
>> > Hi
>> >
>> > I've got a set up with a cxf-consumer -> jms-provider -> jms->consumer ->
>> > cxf-provider, and was wondering when the response from my web service
>> > exposed by the cxf-provider comes back, does it then go directly to the
>> > cxf-consumer or through the jms*, here is the xbean file for jms
>> >
>> > <jms:provider service="hsa:QueueProvider"
>> >              endpoint="QueueProvider"
>> >              destinationName="myQueue"
>> >              connectionFactory="#connectionFactory"
>> >              replyDestinationName="myQueue"
>> >               />
>> >
>> >     <jms:consumer service="hsa:ConsumerService"
>> >              endpoint="QueueConsumer"
>> >              destinationName="myQueue"
>> >              connectionFactory="#connectionFactory"
>> >              concurrentConsumers="8"
>> >              targetEndpoint="ELMdbProxy"
>> >              targetService="edb:ELMdb"
>> >              targetInterface="edb:ELMdb"/>
>> >
>> > target service in the jms:consumer id the web service exposed by
>> > cxf-provider
>> >
>> > cheers, Håkon
>> >
>> > --
>> > Håkon Sagehaug, Software Developer
>> > Parallab, Bergen Center for Computational Science (BCCS)
>> > UNIFOB AS (University of Bergen Research Company)
>> >
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>>
>
>
>
> --
> Håkon Sagehaug, Software Developer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to