Dear all, I'm gonna to filter out the value of "clientId" from a string like
{"timestamp":1442843609,"status":200,"request":{"mbean":"org.apache.activemq:brokerName=amq-broker,type=Broker","attribute":"DurableTopicSubscribers","type":"read"},"value":[{"objectName":"org.apache.activemq:brokerName=amq-broker,clientId=SIB0001,consumerId=Durable(SIB0001_SIB0001.article),destinationName=article,destinationType=Topic,endpoint=Consumer,type=Broker"},{"objectName":"org.apache.activemq:brokerName=amq-broker,clientId=SIB0001,consumerId=Durable(SIB0001_SIB0001.pdf),destinationName=pdf,destinationType=Topic,endpoint=Consumer,type=Broker"}]} I've created an expression like this It causes an error org.apache.camel.language.bean.RuntimeBeanExpressionException: Failed to invoke method: *", "$1") on null due to: org.apache.camel.component.bean.MethodNotFoundException: Method with name: *", "$1") not found on bean: org.apache.activemq:brokerName=amq-broker,clientId=SIB0001,consumerId=Durable(SIB0001_SIB0001.pdf),destinationName=pdf,destinationType=Topic,endpoint=Consumer,type=Broker of type: java.lang.String. Exchange[Message: org.apache.activemq:brokerName=amq-broker,clientId=SIB0001,consumerId=Durable(SIB0001_SIB0001.pdf),destinationName=pdf,destinationType=Topic,endpoint=Consumer,type=Broker] Does anyone have a hint how to use a "." (dot) in a Camel Simple regex without causing such an error? Many thanks in advance - Gerald -- View this message in context: http://camel.465427.n5.nabble.com/Simple-expression-replaceAll-causes-an-error-when-the-input-string-containing-a-dot-tp5771733.html Sent from the Camel - Users mailing list archive at Nabble.com.