Christian, Aki - thanks to your pointers I was able to get my web service
endpoint to work:
1. I added the cxf-rt-transports-http-jetty dependency to my pom
2. I changed address below from /submitResponse to the full URL:
http://localhost:8080/submitResponse.
http://localhost:8080/submitResp
I'm able to run most camel scenarios as a stand-alone java application
indicating org.apache.camel.spring.Main as the main function. Spring Main
automatically locates the xml bean file and initializes the camel context
and the camel routes. I find it very convenient for quick testing an
debugging.
I'm thinking custom splitter bean, to split the message.
--
View this message in context:
http://camel.465427.n5.nabble.com/split-and-process-message-into-many-channels-tp5751677p5751678.html
Sent from the Camel - Users mailing list archive at Nabble.com.
My input message:
...
.
.
I want to:
1. Process the whole file using stylesheet and output to Dest A
2. For a few elements in the file (say, node1, node3 and node7) I want to
extract them and output the content of each individually to Dest B
I know how
I replaced the XPATH 2.0 calls with Xalan extensions and now I'm getting:
javax.xml.transform.TransformerException: Extension function:
'{http://exslt.org/dates-and-times}date-time' can not be invoked when the
XMLConstants.FEATURE_SECURE_PROCESSING feature is set to true.
Is there any way out of
Found the answer here:
http://comments.gmane.org/gmane.comp.apache.camel.user/15776
Basically the solution is to declare a transformer factory instance as a
spring bean, ensure it's nonsecure (by simply not setting
FEATURE_SECURE_PROCESSING) and indicate to use that factory in the
transformation s
I defined an XSLT transform in my route using:
.to("xslt:mytransform.xsl")
The stylesheet is XSL 2.0 and is invoking a few 2.0 functions including
current-dateTime.
But I'm getting:
javax.xml.transform.TransformerException: Extension function:
'{http://www.w3.org/2005/xpath-functions}f
Below is a snippet from the camle-osgi example. I can obtain the camel
context but how do I get the original spring application context? Or how am
I supposed to get a reference to "mybean"?
MyRouteBuilder.java:
public class MyRouteBuilder extends RouteBuilder {
public static void main(S
Hello, I want to serialize the incoming message to XML. I'm starting from the
camel-example-cxf-osgi example.
My Route:
JaxbDataFormat jaxb = new JaxbDataFormat();
jaxb.setPartClass("org.apache.camel.example.reportincident.InputReportIncident");
from("cxf:bean:reportIncident")