SMPP automatic sms splitting issue

2014-12-17 Thread cursed_manji
Hi, I know that SMPP handles the splitting of long sms (longer than 160 characters) automatically. My issue is this, when a long sms is splitted in 2 or 3 sms, one of those sms could get a throttling error . Usually when a single (not splitted) sms is getting a throttling error I just resend it by

Re: Junit Test Failing with AdviceWith

2014-12-17 Thread ManishGupta
Thanks for the help claus :) I read through the Javadocs and understood that start method is non blocking. If i have to use in a standalone application i have to use main function provided by camel. http://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html I inturn used the

[ANNOUNCE] Apache Camel 2.14.1 Released

2014-12-17 Thread Willem Jiang
The Apache Camel project [1] is a powerful open source integration  framework based on known Enterprise Integration Patterns [2].  The Camel community announces the immediate availability of the new patch  release camel-2.14.1.  The artifacts are published and ready for you to download [3]

Re: AW: camel - xsd

2014-12-17 Thread Aki Yoshida
@Jan I just ran the camel-core's unit test XMLTokenExpressionIteratorTest on jdk8 without woodstox (use profile deactivation -P!woodstox to disable woodstox), the tokenizer correctly reports the error at the beginning without proceeding to the tokenizing step. (on both OSX and Ubuntu with Oracle

type conversion error when calling redis hmget

2014-12-17 Thread gmh
All, I am getting the following exception when I made a redis hmget call. According to the online doc: HMGET Get the values of all the given hash fields CamelRedis.Key (String), CamelRedis.Fields (CollectionString) Collection Should return a collection of objects. Stacktrace

Re: Is it possible to set the documentType on an XPath in XML DSL (Spring/Blueprint)

2014-12-17 Thread Claus Ibsen
Hi Yeah sure we can add that option to the xpath definition so its available in XML DSL. Feel free to log a JIRA http://camel.apache.org/support On Fri, Dec 12, 2014 at 8:39 AM, Siano, Stephan stephan.si...@sap.com wrote: Hi, in Java DSL it is possible to set the documentType on an XPath

AW: AW: camel - xsd

2014-12-17 Thread jhm
Java(TM) SE Runtime Environment (build 1.7.0_21-b11) Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode) by Oracle (according to the copyright file) - without woodstox: fail - with woodstox: pass Same for Java(TM) SE Runtime Environment (build 1.6.0_43-b01) Java HotSpot(TM) 64-Bit

How to use dynamic properties / bean references with http conduit used with camel CXF?

2014-12-17 Thread lakshmi.prashant
Hi, Is there a way to specify dynamic values (using a bean reference) for the httpConduit properties of the CXF endpoint (camel CXF)? We need to look up the values of proxyHost and proxyPort in a bean at runtime and then dynamically set it as the proxyHost, port for the Http connection. I had

Java DSl XPATH text node

2014-12-17 Thread sekaijin
Hi I'm using Xpath to get an header. My XML message My Route Builder When I test the XPath expression I get ID Système: D:\Travail\logistique\ng446\ng446-phedra-transfo\data\NG44601.SPE.047.20120101-120425.xml Description: /reservation[1]/entete[1]/codeLivraison[1] - 12235 But in camel the

Re: Java DSl XPATH text node

2014-12-17 Thread Claus Ibsen
Hi Can you try pass in the output type you want to xpath as a 3rd argument, eg String.class. On Wed, Dec 17, 2014 at 5:26 PM, sekaijin jean-yves.terr...@sap.aphp.fr wrote: Hi I'm using Xpath to get an header. My XML message My Route Builder When I test the XPath expression I get ID

Re: AW: camel - xsd

2014-12-17 Thread Aki Yoshida
@Jan, the failing test itself is expected if you don't have woodstox. The question is how it is failing, whether it stops at the beginning and throws the exception like in the quoted console output in my previous reply or after extracting the bad token and when comparing the token? You mentioned

Re: How to Maintain Session with CXF?

2014-12-17 Thread billybobbain
I solved this by grabbing the Set-Cookie header coming back from the web service and then adding it as a Cookie header. setHeader headerName=Cookie simple${header.Set-Cookie}/simple /setHeader Maybe there is a better way to do this, but it works for now. -- View this message in

Re: Intermittent error: No content to map due to end-of-input

2014-12-17 Thread shanaloh
Hi Willem, The only thing before the unmarshal is the wiretap. I am almost certain the issue is with the wiretap. RouteDefinition rdRouteDefinition = from( createListeningService() ).routeId( getRouteId() );

Camel REST + Swagger [configuration]

2014-12-17 Thread cristianmiranda
Hi guys, I'm new to swagger and I want to configure it in my *CDI* application (no Spring at all). I'm following the pet shop example and this specific one: https://github.com/apache/camel/tree/master/examples/camel-example-servlet-rest-tomcat just changing from

How to get the on exception retry delay from database??

2014-12-17 Thread pradeep
In an on exception cluse how to get the retry delay from database. Here is the scenario 1. Exception caught in on exception clues. We use retryWhile() with a bean to get get the number of retries from database. 2. But not sure how to get the retry delay from databse and set in

Re: Camel REST + Swagger [configuration]

2014-12-17 Thread Claus Ibsen
Hi Currently only spring is supported out of the box. You would need to implement a custom code to lookup the camel contexts from cdi eg something like this but for cdi

Re: How to get the on exception retry delay from database??

2014-12-17 Thread Claus Ibsen
Hi You can change the delay by setting a new value in the header with key Exchange.REDELIVERY_DELAY On Thu, Dec 18, 2014 at 7:04 AM, pradeep pradeepnc...@gmail.com wrote: In an on exception cluse how to get the retry delay from database. Here is the scenario 1. Exception caught in on

Re: Camel REST + Swagger [configuration]

2014-12-17 Thread Claus Ibsen
Hi I logged a ticket to use jmx instead which means it would work for anyone. At first glance it looks as that should be doable. https://issues.apache.org/jira/browse/CAMEL-8161 On Thu, Dec 18, 2014 at 7:17 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Currently only spring is supported out

Re: Java DSl XPATH text node

2014-12-17 Thread sekaijin
I've tried to use String.class argument to convert it in string but I get an empty string. Thank to help me I'm running camel 2.8.1 Thank -- View this message in context: http://camel.465427.n5.nabble.com/Java-DSl-XPATH-text-node-tp5760835p5760859.html Sent from the Camel - Users mailing