Re: camel groovy error.

2015-07-07 Thread tesla
Hi Claus, Thanks for the answer. Hard thing with this error is that it is not possible to reproduce it.If I restart camel,the problem disappears for a while,like one day. I will try the release upgrade for camel and groovy.But since this code is in production I need to find a quicker way. -- Vie

camel groovy error.

2015-07-07 Thread tesla
Hi I am facing a strange problem. I have some groovy code like that: import org.apache.camel.model.language.JsonPathExpression; import org.apache.camel.impl.DefaultExchange; String endUserId = new JsonPathExpression("\$.amountTransaction.endUserId").evaluate((DefaultExchange) exchange,String.clas

Apache Camel Simple Language regex fails

2015-06-02 Thread tesla
Hi , I need a regex filter for msisdn(mobile telephone number) . I need to check first 3 digits then i need to check 2 following digits.First 3 digits should be 974 then following two digit should be 44.Therefore these two msisdns should pass : tel:+97444549697 and 97444549697. So I write the follo