Hi,Camel:
        Camel's JAXBDataFormatter using Thread.contextClassLoader() to
create JAXBContext;
        It's suspiciously, I think it's bug;
        Spring DM (from 1.2.0)'s extender will using a separate Thread to
loading  spring configures; In this thread, the thread's context ClassLoader
will be set to the current bundle's ClassLoader; So if JaxbDataFormatter's
context is created in the thread, the class loader will be right;
        But this is not always guaranteed, so sometimes, the Camel's jaxb
will not works;
        I think the JAXBDataFormatter should explicitly use Spring
Application Context's class loader; 


-----Origin-----
Sender: sharma_arun_se [mailto:arun.kaun...@gmail.com] 
Date: 2010/12/17 23:28
Receiver: users@camel.apache.org
Subject: Re: Help with Camel JAXB (SMX4 + Camel 2.1.0)


Hi,

It was in same bundle of camel route.

Do let me know, if you need more input.


Thanks,


Arun Kumar (sharma_arun_se)


-----
Regards,

Arun Kumar (sharma_arun_se)

Expert SOA (Fuse ESB, Camel, ActiveMQ, OSGi) and RESTful Solution Architect,
Open Source Contributor.
linkedin: http://in.linkedin.com/in/aronkumar
twitter: https://twitter.com/#!/SharmaArunKumar
blog: http://techiesweek.blogspot.com/
Gtalk: arun.kaun...@gmail.com

-- 
View this message in context:
http://camel.465427.n5.nabble.com/Help-with-Camel-JAXB-SMX4-Camel-2-1-0-tp47
0566p3309556.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.



Reply via email to