Re: CXFRS and Processing

2012-03-28 Thread GPRSLyons
Sergey Beryozkin-3 wrote > > I was implying something like > > > address="camel://direct:bookStore" > staticSubresourceResolution="true"> > and then refer to the endpoint with "direct:bookStore". > > Give it a try please... > I gave it a shot with

Re: CXFRS and Processing

2012-03-28 Thread GPRSLyons
Thanks for the response Willem! I tried to set the response of the out message in EmptyProcessor, by exchange.getOut().setBody(exchange.getIn().getBody()); but I have the same symptom. In fact, when I set a breakpoint on that line within EmptyProcessor, it is never hit. It seems that the order i

Re: CXFRS and Processing

2012-03-27 Thread GPRSLyons
Thanks for the response! Unfortunately, I am new with Camel and do not understand what you mean when you say "Please also experiment with /direct CXF jaxrs:endpoints/ in conjunction with the Camel transport". I would like to provide as much help / additional information as possible... By /direct

Enrichment and Type Conversion

2012-03-27 Thread GPRSLyons
Gents- As always, thanks for the help. In my route, it is very simple for me to convert the payload to JSON... .unmarshal().gzip() .unmarshal().json(JsonLibrary.Jackson, MyClass.class) However, I would like to enrich my content from multiple sources, such as... .loop(SOURCES.length) .enrich("s

CXFRS and Processing

2012-03-26 Thread GPRSLyons
Gents- Thanks much for the help so far. I am trying to do some processing on my CXFRS route before it goes back to the browser, but the body becomes null after I process. I modified an example to demonstrate my issue. In https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test

Testing Camel CXFRS Routes

2012-03-08 Thread GPRSLyons
Gents- I am trying to test a camel CXFRS endpoint route and getting the following *trace*... org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[Message: Hello World] at org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(Obje

Re: Custom Jackson ObjectMapper

2012-01-30 Thread GPRSLyons
Is there a currently implemented way in Camel to apply a custom naming strategy to Jackson (such as LowerCaseWithUnderscoresStrategy http://jackson.codehaus.org/1.9.4/javadoc/org/codehaus/jackson/map/PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.html)? Or will this only be possible when