content-enrich

2009-03-02 Thread Peter Maas
Hi list, I'm developing a proof-of-concept application using Camel 2.0. Everything seems to work just find... except for the content-enricher. Both the resource exchange passed to my AggregationStrategy look identical. Whilst if I print the contents of the resource route I the the correct

Re: content-enrich

2009-03-02 Thread Martin Krasser
Hi Peter, the route looks good to me. * The in-messages of the original exchange and the resource exchange are always identical. The out-message of the resource exchange will contain the result from 'direct:enrichMovie'. * What message exchange pattern do you use when you test (print the cont

Re: content-enrich

2009-03-02 Thread Peter Maas
I think you've solved my problem. I was looking at the 'in' message of the resource exchange, whereas I should be looking at the 'out' message. And, btw, yes the CinemaQueryAssembler is thread-safe, I actually think all code should be threadsafe ;) On Tue, Mar 3, 2009 at 7:02 AM, Martin Krasser wr

Re: content-enrich

2009-03-02 Thread Claus Ibsen
On Tue, Mar 3, 2009 at 7:56 AM, Peter Maas wrote: > I think you've solved my problem. I was looking at the 'in' message of the > resource exchange, whereas I should be looking at the 'out' message. And, > btw, yes the CinemaQueryAssembler is thread-safe, I actually think all code > should be threa

Re: content-enrich

2009-03-02 Thread Peter Maas
On Mar 3, 2009, at 8:10 , Claus Ibsen wrote: On Tue, Mar 3, 2009 at 7:56 AM, Peter Maas wrote: I think you've solved my problem. I was looking at the 'in' message of the resource exchange, whereas I should be looking at the 'out' message. And, btw, yes the CinemaQueryAssembler is thread-sa

Re: content-enrich

2009-03-03 Thread Martin Krasser
... just updated the enricher documentation with an example aggregation strategy. Martin Peter Maas schrieb: On Mar 3, 2009, at 8:10 , Claus Ibsen wrote: On Tue, Mar 3, 2009 at 7:56 AM, Peter Maas wrote: I think you've solved my problem. I was looking at the 'in' message of the resource e

Re: content-enrich

2009-03-03 Thread Claus Ibsen
On Tue, Mar 3, 2009 at 9:56 AM, Martin Krasser wrote: > ... just updated the enricher documentation with an example aggregation > strategy. > > Martin Thanks a lot. > > Peter Maas schrieb: >> >> On Mar 3, 2009, at 8:10 , Claus Ibsen wrote: >> >>> On Tue, Mar 3, 2009 at 7:56 AM, Peter Maas wrote:

Content enrich via WS

2012-05-16 Thread pvunckx
orm() //convert xml msg to xml msg for first ws call .enrich (uri, strategy) //uri ? , strategy  can I access the initial msg? .to(cxf-ws);//call second ws with enrich initial msg Thanks for tips and tricks!! Pieter -- View this message in context: http://camel.465427.n5.nabble.com/Content-enrich-

Re: Content enrich via WS

2012-05-16 Thread Willem Jiang
ips and tricks!! Pieter -- View this message in context: http://camel.465427.n5.nabble.com/Content-enrich-via-WS-tp5710911.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Willem -- CamelOne 2012 Conference, May 15-16, 2012: h

Re: Content enrich via WS

2012-05-17 Thread Christian Müller
I still need to do the merge (Of how do I get >> this >> message back?) >> >> Pseudo-code: >> > From (“direct:start’) >> .transform() //convert xml msg to xml msg for first ws call >> .enrich (uri, strategy) //uri ? , strategy  can I access the i

Content Enrich Error when upgrading Apache Camel from 2.9.2 to any higher version

2012-12-17 Thread Neo
anyone please provide me some light :) ??Cheers,Sree -- View this message in context: http://camel.465427.n5.nabble.com/Content-Enrich-Error-when-upgrading-Apache-Camel-from-2-9-2-to-any-higher-version-tp5724244.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Content Enrich Error when upgrading Apache Camel from 2.9.2 to any higher version

2012-12-17 Thread Willem jiang
at > org.apache.camel.component.http.RequestEntityConverter.toRequestEntity(RequestEntityConverter.java:51) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.Delega