On Thu, Oct 27, 2011 at 2:04 AM, rspeter <[email protected]> wrote:
> Thanks for your reply.
>
> I tried sort of this again, but I received a bean exception
> <from
> uri="restlet:http://localhost:8077/poc/reply/{id}?restletMethods=post,get"/>
> <setHeader headerName="test">
> <simple>activemq:test.www?selector=JMSCorrelationID %3D
> ${header.id}</simple>
> </setHeader>
> <pollEnrich>
>        <recipientList><header>test</header></recipientList>
> </pollEnrich>
>
>
> Do you have a any other workaround or working example to consume message by
> id and send response to client?
>

Hi

I probably didn't explain it well, but pollEnrich current does *not*
support what you want.

You can use a java bean and then use a consumer template to poll from
an uri, which you can construct from the java code in the bean.


> Thanks
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/pollEnrich-consumer-with-selector-tp4939908p4941669.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to