Re: JAXB causing Unit Test Failure without any actual marshalling active

2010-11-30 Thread enalposi
> from(source).process(myInProcessor).to(destination).process(myOutProcessor). Ah, this works. Very nice. Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/JAXB-causing-Unit-Test-Failure-without-any-actual-marshalling-active-tp3278807p3286117.html Sent from the Ca

Re: JAXB causing Unit Test Failure without any actual marshalling active

2010-11-30 Thread Willem Jiang
On 11/29/10 11:14 AM, enalposi wrote: Willem - I should upgrade to 2.5 first and see if I can reproduce but it's not as straight forward as hoped I am afraid. Btw - I am defining the routes programmatically at startup time such as - ... RouteBuilder { public void configure() { from(sour

Re: JAXB causing Unit Test Failure without any actual marshalling active

2010-11-29 Thread enalposi
processor defined. How do I get the processor to process bidirectionally? Cheers. -- View this message in context: http://camel.465427.n5.nabble.com/JAXB-causing-Unit-Test-Failure-without-any-actual-marshalling-active-tp3278807p3284642.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JAXB causing Unit Test Failure without any actual marshalling active

2010-11-26 Thread Willem Jiang
Can you create a JIRA and send us a simple test case? That will be quick for us to fix the issue. On 11/26/10 9:14 PM, enalposi wrote: Oh, I wasn't aware 2.5 is out. We are on 2.4 still. I don't think I'll get to a test project any time soon as I'm currently working through holidays to meet de

Re: JAXB causing Unit Test Failure without any actual marshalling active

2010-11-26 Thread enalposi
and my preference is a custom JAXB adapter plugged into the route as a processor. -- View this message in context: http://camel.465427.n5.nabble.com/JAXB-causing-Unit-Test-Failure-without-any-actual-marshalling-active-tp3278807p3281252.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JAXB causing Unit Test Failure without any actual marshalling active

2010-11-25 Thread Claus Ibsen
> I feel simple inclusion of the camel-jaxb dependency should not alter the > behavior of the code without explicit configuration. I am not sure why a > FallbackTypeConfigurator would kick in if regular serialization works just > fine without the dependency. > -- > View this mes

Re: JAXB causing Unit Test Failure without any actual marshalling active

2010-11-25 Thread enalposi
XB-causing-Unit-Test-Failure-without-any-actual-marshalling-active-tp3278807p3280121.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JAXB causing Unit Test Failure without any actual marshalling active

2010-11-24 Thread Willem Jiang
Camel Jaxb has a FallbackTypeConverter which will check if the message body object class has the XmlRootElement annotation , then it decide to do the marshal/ unmarshal job or not. In this case , you don't need to specify data format or use the marshal/unmarshal DSL. If camel can't convert t

Re: JAXB causing Unit Test Failure without any actual marshalling active

2010-11-24 Thread enalposi
/JAXB-causing-Unit-Test-Failure-without-any-actual-marshalling-active-tp3278807p3279154.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JAXB causing Unit Test Failure without any actual marshalling active

2010-11-24 Thread Richard Kettelerij
Looks like you didn't post the entire stacktrace (the first part is missing?). Can you post the entire stacktrace? Also can you post your route definition? -- View this message in context: http://camel.465427.n5.nabble.com/JAXB-causing-Unit-Test-Failure-without-any-actual-marshalling-a

JAXB causing Unit Test Failure without any actual marshalling active

2010-11-24 Thread enalposi
tp://camel.465427.n5.nabble.com/JAXB-causing-Unit-Test-Failure-without-any-actual-marshalling-active-tp3278807p3278807.html Sent from the Camel - Users mailing list archive at Nabble.com.