What kind of error did you get?
Can you show us your stack trace?
BTW, there is an partical Class example that you may want to take a look.
http://example.camel.org/apache}po"; />
On 7/8/11 10:58 AM, whofeih wrote:
Can anyone help me? I can't seem to make partialClass to work. My class
doesn'
Can anyone help me? I can't seem to make partialClass to work. My class
doesn't have @XMLRootElement that's why i decided to give partialClass a
try, but still no luck with .marshall(jaxbDataFormat)
below is my code.
JaxbDataFormat dataFormat = new JaxbDataFormat(true);
dataFormat.setCont
s;
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)
H
taFormatter 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 c
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.linke
49
Receiver: users@camel.apache.org
Subject: Help with Camel JAXB (SMX4 + Camel 2.1.0)
Hi people,
I'm experiencing a curious problem with Camel JAXB. To make it short:
unmarshalling works correctly, but not marshalling.
I have a route that receives a CxfPayload and unmarshals it to Java. It
14:05
Receiver: users@camel.apache.org
Subject: Re: Help with Camel JAXB (SMX4 + Camel 2.1.0)
Hi All,
Below is the solution that I used to integrate JAXB with apache camel and to
resolve class-loading problem in OSGI:
1. I have written separate bean class to resolve Jaxb-Context something
like:
p
Hi All,
Below is the solution that I used to integrate JAXB with apache camel and to
resolve class-loading problem in OSGI:
1. I have written separate bean class to resolve Jaxb-Context something
like:
public class JAXBContextResolver {
private static Logger log = Logger.getLogger(JAXBCont
Hi,
If you found the solution, do you mind to share it with the community ?
On 11/20/10 1:16 PM, sharma_arun_se wrote:
Hi All,
I have found alternative solution of my problem. If anybody face same kind
of problem, I will be more than happy to discuss the solution.
Regards,
Arun Kumar (shar
Hi All,
I have found alternative solution of my problem. If anybody face same kind
of problem, I will be more than happy to discuss the solution.
Regards,
Arun Kumar (sharma_arun_se)
Expert SOA (Fuse ESB, Camel, ActiveMQ, OSGi) and RESTful Solution Architect,
Open Source Contributor.
linkedin
You are deploying the application context into a OSGi container, it's
more complicate.
Currently camel will try to use the application context classloader to
load the jaxb context classes. So please make sure your spring
application context bundle imports the generated package, and the
genera
Hi,
I hope somebody have solved this problem, as I can see there are number of
posting for the problem but no real and satisfactory common solution to the
problem.
Let me discuss my issue:
I have created jaxb bean as :
In my routeBuilder.java Class, I have create route as :
fro
Maybe you can consider to put the JAXB jars into the endorse directory
of JDK 1.6.
Willem
TheWinch wrote:
I cannot easily because I have code that is bound to jdk1.6. Do you think
that uninstalling the jaxb-impl-2.1.12 bundle and adding com.sun.xml.bind.v2
to the org.osgi.framework.system.pack
I cannot easily because I have code that is bound to jdk1.6. Do you think
that uninstalling the jaxb-impl-2.1.12 bundle and adding com.sun.xml.bind.v2
to the org.osgi.framework.system.packages variable would do ?
willem.jiang wrote:
>
> Which kind of JDK are you using?
> Can you try to use JDK
Which kind of JDK are you using?
Can you try to use JDK 1.5.0 which doesn't embed the JAXB API and
implementation ?
Willem
TheWinch wrote:
The unmarshal("jxb") refers to a JaxbDataFormat defined in Spring
configuration :
And I've triple-checked that the context is correct and no othe
The unmarshal("jxb") refers to a JaxbDataFormat defined in Spring
configuration :
And I've triple-checked that the context is correct and no other package
than the one being referenced is used. Note also that this DataFormat is
used with success during the unmarshalling operation :-( ???
It could be that your route definition is incorrect, it should read
jaxb not jxb. You could also try creating a JaxbDataFormat explicitly
and use that in your route instead.
e.g
DataFormat jaxb = new JaxbDataFormat("org.apache.camel.example");
from("direct:start").
Hi people,
I'm experiencing a curious problem with Camel JAXB. To make it short:
unmarshalling works correctly, but not marshalling.
I have a route that receives a CxfPayload and unmarshals it to Java. It
works perfectly.
A second route has a processor that emits a Java payload, that must then b
18 matches
Mail list logo