>
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
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
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.
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
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.
> 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
XB-causing-Unit-Test-Failure-without-any-actual-marshalling-active-tp3278807p3280121.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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
/JAXB-causing-Unit-Test-Failure-without-any-actual-marshalling-active-tp3278807p3279154.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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
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.
11 matches
Mail list logo