Re: Suspend/Resume Routes Unreliable

2015-09-21 Thread Claus Ibsen
Hi Yeah resume should not trigger the doStart logic as it shouldn't be needed https://issues.apache.org/jira/browse/CAMEL-9150 On Mon, Sep 21, 2015 at 5:42 PM, CamelNCGeoff wrote: > Hello, > > We are using camel 2.15.3 and using the spring to configure the camel > routes. We are trying to susp

Re: ${date:now:yyyMMdd} is not parsed correctly

2015-09-21 Thread hayden74
Thanks Claus, that what I expected but I needed to be sure :) -- View this message in context: http://camel.465427.n5.nabble.com/date-now-yyyMMdd-is-not-parsed-correctly-tp5771739p5771750.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ${date:now:yyyMMdd} is not parsed correctly

2015-09-21 Thread Claus Ibsen
Its a dynamic value so the uri would be represented escaped with %24 and so on. The expression is evaluated for each file, and hence the next day the file name 20150919 would match. On Tue, Sep 22, 2015 at 5:27 AM, hayden74 wrote: > Hi guys, the ${date:now:MMdd} is not parsed correctly. Ca

Re: Simple expression replaceAll causes an error when the input string containing a "." (dot)

2015-09-21 Thread Claus Ibsen
What version of Camel do you use? And have you tested with a newer release. On Tue, Sep 22, 2015 at 7:09 AM, catshout wrote: > 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:brokerNa

Re: Unit testing Fuse (Karaf) with camel implemented in blueprint (shortcoming 1)

2015-09-21 Thread Achim Nierbeck
Hi, as jboss uses a karaf after all, make sure your test works with a vanilla karaf and you should be fine. regards, Achim 2015-09-21 21:01 GMT+02:00 ywang9009 : > Achim, I think I have seen this article. I tried everything I could find > from > google. I am using jboss-fuse-full-6.1.0.redhat-3

Simple expression replaceAll causes an error when the input string containing a "." (dot)

2015-09-21 Thread catshout
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=

Re: Unit testing Fuse (Karaf) with camel implemented in blueprint (shortcoming 1)

2015-09-21 Thread ywang9009
Achim, I think I have seen this article. I tried everything I could find from google. I am using jboss-fuse-full-6.1.0.redhat-379.zip. I think the karaf version it uses has some peculiarity getting what it needs. I will follow that article and try again. But I doubt I will have any luck. Thanks

Simple expression replaceAll causes an error when the input string containing a "." (dot)

2015-09-21 Thread catshout
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=

RE: Camel XPATH Issue

2015-09-21 Thread Vanshul . Chawla
Resolved: /soapenv:Envelope/soapenv:Body/das:GiftCardUpdateStatusOrderResponseElement/das:body/das:errorCode -Original Message- From: Vanshul.Chawla [mailto:vanshul.cha...@target.com] Sent: Tuesday, September 22, 2015 8:41 AM To: users@camel.apache.org Subject: Camel XPATH Issu

Re: rabbitMQ message forwarding from one queue to another

2015-09-21 Thread Willem Jiang
Which version of Camel are you using? If you want to route the message between two rabbitMQ endpoint you need to setup the option of bridgeEndpoint just like this.                                                                                 -- Willem Jiang Blog: http://willemjiang.bl

${date:now:yyyMMdd} is not parsed correctly

2015-09-21 Thread hayden74
Hi guys, the ${date:now:MMdd} is not parsed correctly. Can you please help? My route looks like this: from("file://C:/applications/data?fileName=${date:now:MMdd}/dataFile.csv") .log("New file received"); That's parsed as below: Route: route4 started and consuming from:

Camel XPATH Issue

2015-09-21 Thread Vanshul . Chawla
Hello All, I am using this /soapenv:Envelope/soapenv:Body/das:GiftCardUpdateStatusOrderResponseElement/das:body/das:errorCode For a message http://schemas.xmlsoap.org/soap/envelope/"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsd="http: //www.w3.org/2001/XMLSchema" xm

Re: rabbitMQ message forwarding from one queue to another

2015-09-21 Thread Christian Müller
And there is no log entry? Best, Christian Am 20.09.2015 09:15 schrieb "prajath" : > Hi Christian, > message is not publishing from queue 'inbox' to 'outbox' > > 1.timer publish current date to queue 'inbox'- this part working > 2.from 'inbox' to 'outbox' - this is not working > > > > > Thanks, >

Re: how to get loginConfig into standalone camel salesforce component

2015-09-21 Thread Christian Müller
Did you checked the tests for this component? Best, Christian Am 21.09.2015 07:27 schrieb "rpcat" : > My standalone camel instance needs a salesforce component. It has: > > public class Driver > { > private Main main; > static final Logger log = LoggerFactory.getLogger(Driver.clas

Re: smpp connection info

2015-09-21 Thread Christian Müller
This is not possible. The underlying jsmpp library doesn't support a feature like that. Best, Christian Am 21.09.2015 12:22 schrieb "Bova Fabrizio" : > Hi > I am trying some performance test on camel.version 2.15.3 running on > apache-karaf-3.0.4 I have this route: > > xmlns=

Re: Unit testing Fuse (Karaf) with camel implemented in blueprint (shortcoming 1)

2015-09-21 Thread Christian Müller
But than it's an integration test (or something similar) and not an unit test... Best, Christian Am 21.09.2015 16:45 schrieb "ywang9009" : > Christian, thanks for the reply. Yes I was talking about inter-bundle > dependency. One example is like this: I have some common code which lives > in > ano

Re: Unit testing Fuse (Karaf) with camel implemented in blueprint (shortcoming 1)

2015-09-21 Thread Achim Nierbeck
Hi, quite some time ago I wrote a blog about how to test with Pax-Exam [1]. Might be of interest for you. regards, Achim [1] - http://notizblog.nierbeck.de/2013/08/testing-camel-jpa-routes-with-pax-exam-and-karaf/ 2015-09-21 16:44 GMT+02:00 ywang9009 : > Christian, thanks for the reply. Yes I

Suspend/Resume Routes Unreliable

2015-09-21 Thread CamelNCGeoff
Hello, We are using camel 2.15.3 and using the spring to configure the camel routes. We are trying to suspend/resume a route every 1 min. This appears to work fine a few times, but eventually, we will try to resume a route and notice the route is resumed, but no messages are processed and the seda

IllegalArgumentException for Java DSL

2015-09-21 Thread dsjaxen
Hi! I posted this to nabble before, but I don't think it made it to the camel mailing list. My attempts at subscribing were apparently unsuccessful at that time. I want to create the following route in camel: ...

Re: Unit testing Fuse (Karaf) with camel implemented in blueprint (shortcoming 1)

2015-09-21 Thread ywang9009
Christian, thanks for the reply. Yes I was talking about inter-bundle dependency. One example is like this: I have some common code which lives in another bundle so the current bundle depends on that bundle. I can't unit test the code in this bundle unless the common code bundle is loaded. I have s

smpp connection info

2015-09-21 Thread Bova Fabrizio
Hi I am trying some performance test on camel.version 2.15.3 running on apache-karaf-3.0.4 I have this route: http://camel.apache.org/schema/blueprint";> I see that there are 30 threads

camel-rabbitmq transaction support for version 2.15

2015-09-21 Thread prajath
Hi all, is Camel version 2.15 supports transaction with rabbitmq also replyTo is not seems to be working for rabbitmq , is that also not supported for 2.15 thanks, Prajath -- View this message in context: http://camel.465427.n5.nabble.com/camel-rabbitmq-transaction-support-for-version-2-15-

Start a route based on a specific time everyday , but stop logic is based on ...

2015-09-21 Thread Felix Thomas
hello, I want to schedule a quartz cron job which is supposed to run at a specific time every day but be stopped only if the queue from where it is consuming is empty o.e. all messages are consumed. I saw the examples of org.apache.camel.routepolicy.quartz2.CronScheduledRoutePolicy , but it