Hi In your XML file you most likely need to use xpath instead of simple in the <language> if you route XML messages. When you use XPath, then mind that if your XML message uses namespaces, then those namespaces must be configured in the XPath expression as well.
Some details here http://camel.apache.org/xpath And for starters I would make the XML much simpler. Just a JMS -> CXF -> Log, and then see what is going on. On Sat, Apr 21, 2012 at 4:44 AM, johngalt <dannygallagh...@gmail.com> wrote: > I find myself going in circles, so was I hoping some of you guys > who known this platform/environment inside and out could give me some > professional guidance. > > I am trying to implement a rather simple use case using servicemix. > (or what I thought would be a simple use case) > > The purpose of the use case is to get a feel for what servicemix can do, to > see if it is something we can use for a full blown esb implementation. > (probably using activemq / camel or bpel / cxf) to implement the "glue" for > many web services > talking to each other across our enterprise, mostly java, some .net for good > measure. > I don't get the tangible differences between using bpel vs. camel and why > one over the other, > but that's a different issue. > > The reason that I started looking into servicemix was that I spent about 5 > months a year > and a half ago working in a hospital that had implemented Oracle JCaps. I > thought what that > platform could do was pretty impressive, and servicemix seems to be of the > same vein (if you will) > So if the decision is made to go with servicemix, hopefully the powers that > be will bring > someone in who is an expert in servicemix implementations to help us with > the architecture, but I digress. > > So the use case is this: > - xml file (from a queue or just put into a directory) into a camel route. > - based on the content of the xml, the flow would be routed to different web > services. > (currently "empty" cxf services (working and deployed on tomcat) - just > some logging, > I just want to know that they were hit for now) > > So I started down the route of using blueprint to implement this, but I find > myself unsure about what components > I really need and looking a various tutorials it's easy for a newbie to get > completley off the rails on > some other implementation method without really knowing it. I've been doing > pure java development for > a long time and all this configuration is taking some getting aclimated to. > > I attached my blueprint.xml file. > Just a route and some cxfEndpoints, can't seem to get it deployed correctly > When I drop the jar file, from the log, it seems to start loading up the > route, > creating beans, etc. Then camel shuts down. > > But I find myself wondering if I am using the correct components for the > job, is cxfEndpoint correct > or should I be using something else. Am I on the right path or the left > one? > > http://servicemix.396122.n5.nabble.com/file/n5655683/blueprint.xml > blueprint.xml > > Any wisdom is a beautiful thing. > > Cheers > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/Proof-or-poof-of-Concept-tp5655683p5655683.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/