Re: A High Level Data Translation Question

2011-11-22 Thread Claus Ibsen
On Mon, Nov 21, 2011 at 5:36 PM, Castyn wrote: > I created a custom processor per the links posted previously.  Once in a > custom processor, is there a way to marshal the message into java objects? Its Java. So whatever you can do with Java you can do there. If you have camel-jaxb on the classp

Re: A High Level Data Translation Question

2011-11-21 Thread Castyn
I created a custom processor per the links posted previously. Once in a custom processor, is there a way to marshal the message into java objects? Or is there a good way to parse and edit the xml message from within the processor, or should I just write base XML parsing in java? -- View this mes

Re: A High Level Data Translation Question

2011-11-21 Thread Castyn
Actually for a bit more clarity, the route is as follows: // Static SOAP Message // This is a remote version of servicemix where this queue is processed and responded with a complex SOAP XML message At this point is where I'd like to begin transforming the message, and am

Re: A High Level Data Translation Question

2011-11-21 Thread Castyn
Well I suppose the interesting thing is that when the initial request is sent to the cxf web service endpoint, I am just using a velocity template as the message since it is static, so the cxf endpoint is in MESSAGE format for that. The reply back from the cxf endpoint then would be what needs to

Re: A High Level Data Translation Question

2011-11-18 Thread Christian Müller
Hello Eric! What's about something like this: from("cxf://bean:wsService") .convertBodyTo(SomeOther.class) .to("activemq://queue:foo") The default dataFormat for the CXF component is POJO. So you will receive a java bean. Implement your own type converter [1] to convert the web service reque