camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: JAXB causing Unit Test Failure without any actual marshalling active
Date Thu, 25 Nov 2010 16:36:33 GMT
Hi

Can you create a small project and/or unit test and attach the file to
a JIRA ticket?
Then we can take a look at it.

I assume you have tried using the latest release, which is Camel 2.5?


On Thu, Nov 25, 2010 at 3:22 PM, enalposi <enalposi@yahoo.com> wrote:
>
> @Willem
>
> The payload is a simple JAXB annotated Pojo (In this case a Status message,
> containing some strings and maps).
>
> To recap:
> 1. Unit tests (and actual operation) run fine without maven dependency of
> camel-jaxb.
> 2. Jaxb itself runs fine on the classes. Schema is generated and unit tests
> pass for marshalling.
> 3. Jaxb has not been 'activated' for the route. It's as simple as
> from(jms..).to(bean...).
> 4. The reason why I added Jaxb annotations to the working model is to
> eventually migrate to XML payload on the wire so we can integrate .NET
> clients.
>
> 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 message in context: http://camel.465427.n5.nabble.com/JAXB-causing-Unit-Test-Failure-without-any-actual-marshalling-active-tp3278807p3280121.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message