Hi I think we fixed that in the next release, eg 2.15.1
On Wed, Mar 18, 2015 at 5:00 PM, richardgroote <richard.gro...@gmail.com> wrote: > Hello, > > We're trying to split the body at a specific position with the below > statement. > > from("direct:abc").setHeader("tmp", > constant("(?<=\\G.{3})")).setBody(simple("${body.split(${header.tmp})}")); > > The above does not work because the regular expression contains ')'. > Within the MethodInfo#evaluate the method parameters are determined. This is > done with the ObjectHelper.between(methodName, "(", ")") and than the > regular expression is not correctly anymore. > > A solution for the above is to create a bean which does the splitting and > refer this bean in the splitter. > > > Kind regards, > > Richard > > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/MethodInfo-evaluate-expression-tp5764359.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/