RE: MessageHelper.dumpAsXml()

2014-01-28 Thread bhcohen
red by you in a file after manually > inspecting xml file message] > > - Ravi > > > > > From: bhcohen [ > bruce_cohen@ > ] > Sent: Monday, January 27, 2014 11:03 PM > To: > users@.apache > Subject: Messag

MessageHelper.dumpAsXml()

2014-01-27 Thread bhcohen
Since MessageHelper.dumpAsXml() marshals a Message as XML, is there a method somewhere that does the opposite, i.e. takes XML output generated by from dumpAsXml() and produces a Message? I'm trying to implement a dead letter channel in which I write problematic Messages (body and header) to a fil

Re: Simple bean invocation with '.' throwing NoSuchBeanException

2014-01-24 Thread bhcohen
This appears to be fixed when I use Camel 2.12 -Bruce -- View this message in context: http://camel.465427.n5.nabble.com/Simple-bean-invocation-with-throwing-NoSuchBeanException-tp5746417p5746445.html Sent from the Camel - Users mailing list archive at Nabble.com.

Simple bean invocation with '.' throwing NoSuchBeanException

2014-01-23 Thread bhcohen
I'm using Camel 2.11.0 with Spring XML and am getting a NoSuchBeanException when I invoke a bean through Simple with a String argument that contains a period '.' I have a Map defined as follows: I then have a setHeader element that looks like: When setHeader is called I get: If I change t

Zookeeper read all child nodes

2013-03-20 Thread bhcohen
I'm probably missing something obvious but I'm struggling with what seems like a simple Camel/Zookeeper problem. I have a zookeeper tree like: /parent /parent/child1 /parent/child2 /parent/child3 where the child nodes are ephemeral nodes so I don't know ahead of time what or how many children I