");
> }
> });
>
> modelCamelContext.start();
>
> Policy policy = initPolicy();
>
> MockEndpoint mockOut = getMockEndpoint("mock:out");
> mockOut.setExpectedMessageCount(1);
>
> template.sendBody("direct:in", policy);
>
deas?
Thanks,
O.
--
View this message in context:
http://camel.465427.n5.nabble.com/CamelBluePrintTestSupport-2-17-0-getRouteDefinition-null-pointer-exception-tp5790419.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Null body is not allowed
> at
> org.apache.camel.component.sjms.jms.JmsMessageHelper.createMessage(JmsMessageHelper.java:202)
> at
> org.apache.camel.component.sjms.jms.JmsMessageHelper.createMessage(JmsMessageHelper.java:156)
>
> Kind regards,
> Stan
>
used by: javax.jms.JMSException: Null body is not allowed
at
org.apache.camel.component.sjms.jms.JmsMessageHelper.createMessage(JmsMessageHelper.java:202)
at
org.apache.camel.component.sjms.jms.JmsMessageHelper.createMessage(JmsMessageHelper.java:156)
Kind regards,
Stan
--
View this message in context:
http://camel.4
; sampleMap.put("test", 5L);
>
> Object helloWorld = new Object() {
> private Integer someValue = 5;
> };
>
> try {
> Message msg = JmsMessageHelper.createMessage(session,
> helloWorld, sampleMap, null);
&g
(Exception e) {
TestSupport.assertStringContains(e.getMessage(), "Unsupported
message payload type");
}
session.close();
connection.close();
}
}
Thanks & Kind regards,
Stan
--
View this message in context:
http
te... 3) Also, this behaviour is not
consistent. In some VM's the routes complete and in some VM's, the messages
stay in processing status..Kindly advise.Thanks,Lakshmi
<http://camel.465427.n5.nabble.com/file/n5751737/camel_NPE.png>
--
View this message in context:
http://cam
camel.465427.n5.nabble.com/Null-Pointer-exception-with-camel-quartz-simple-trigger-fireNow-tp5751692p5751734.html
Sent from the Camel - Users mailing list archive at Nabble.com.
tionException(e);
> 130 }
> 131}
> 132
>
>
> Can you please point me why the issue is happening and what we can do to fix
> the issue?
> Any help / pointers is greatly appreciated.
>
> Many Thanks,
> Lakshmi
>
>
>
> --
> View this message
g and what we can do to fix
the issue?
Any help / pointers is greatly appreciated.
Many Thanks,
Lakshmi
--
View this message in context:
http://camel.465427.n5.nabble.com/Null-Pointer-exception-with-camel-quartz-simple-trigger-fireNow-tp5751692.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I've had the same problem with jdk 1.7. The exception happened because of
existence of ClassBeanInfoImpl class in the rt.jar in jdk 1.7.
The solution was to add jaxb-impl jar to maven dependencies...
--
View this message in context:
http://camel.465427.n5.nabble.com/null-pointer-exce
m but from server side, somehow
> output is not generating) I am curious- is there anything I have to do on
> servicemix (example config properties change etc) to produce output xml file
> ??
>
>
> can Anybody give me a light upon this??
>
> --
> View this message in context:
&g
tp://camel.465427.n5.nabble.com/Null-Pointer-Exception-and-servicemix-karaf-problems-tp5645869p5646282.html
Sent from the Camel - Users mailing list archive at Nabble.com.
> }
> } /
>
>
> My question is - 1) whenever I try to run it from main() by 'run as' option,
> it is creating output folder "csvoutput" & inside the desired xml - Fine!!!
>
> But, when I try to run 2nd time, it should overwrite the
Thank you very much for the response Babak. Your suggestion seems to be
working. However, Camel 2.9.0 doesn't give that jaxb impl jar, so I had to
manually download and use that Jar.
Thanks,
Sridhar
--
View this message in context:
http://camel.465427.n5.nabble.com/null-pointer-exce
Hi
this a JAXB bug [1] being already addressed and resolved.
[1] http://java.net/jira/browse/JAXB-860
Babak
--
View this message in context:
http://camel.465427.n5.nabble.com/null-pointer-exception-tp5537826p5537953.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ng Spring root WebApplicationContext
--
View this message in context:
http://camel.465427.n5.nabble.com/null-pointer-exception-tp5537826p5537826.html
Sent from the Camel - Users mailing list archive at Nabble.com.
17 matches
Mail list logo