Re: how to deploy a project with a CAMEL-XSTREAM in fuse fabric container

2014-07-10 Thread Claus Ibsen
The xml file is that spring or blueprint? Favor blueprint as that generally works better with OSGi. On Thu, Jul 10, 2014 at 10:35 PM, aioria3077 wrote: > they would greatly appreciate your help > > my exercise is to convert a CSV separated by "|" to a XML, in which I'm > using camel-bindy and ca

Re: How to check if the file waiting in enricher arrived after timeout

2014-07-10 Thread Willem Jiang
I think you need to check if the message body null before calling the bean method of doSomething. --  Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On July 11, 2014 at

RE: File is not moved to .camel folder once it is processed

2014-07-10 Thread sakchakravarthi
I am using filter as mentioned bellow. 1) I have two kinds of files TypeA and TypeB 2) When I get TypeB I am returning true in filter 3) When I am getting TypeA then I have to check status of previous consumed TypeA file in DB. If previous file of TypeA is processed completely then current TypeA fi

RE: File is not moved to .camel folder once it is processed

2014-07-10 Thread sakchakravarthi
Yes Ravi I am seeing .camelLock file. in filter accept method I commented my code and just returning defaultly true. Still file was not getting deleted and observed .camelLock. But if any exception raised after passing through filter then file was getting deleted. -- View this message in context

RE: File is not moved to .camel folder once it is processed

2014-07-10 Thread sakchakravarthi
Yes Ravi I am seeing .camelLock file. in filter accept method I commented my code and just returning defaultly true. Still file was not getting deleted and observed .camelLock. But if any exception raised after passing through filter then file was getting deleted. also I observed .camelLock was cre

How to check if the file waiting in enricher arrived after timeout

2014-07-10 Thread yxzhao
Hi there, We need to run a job in certain time window only once a day and it also depends on a trigger file. It needs to be also started if the application started after the starting time point of the time window. Periodically checking for the trigger file with a timeout as defined below fails us

how to deploy a project with a CAMEL-XSTREAM in fuse fabric container

2014-07-10 Thread aioria3077
they would greatly appreciate your help my exercise is to convert a CSV separated by "|" to a XML, in which I'm using camel-bindy and camel-xstream, everything works fine if running with "mvn camel:run" I show my camel-context ... ... ... http://camel.apa

Re: Camel consuming from apache mq using stomp over websockets

2014-07-10 Thread MichaelAtSAG
Andrej, I am hitting the same restriction. Were you able to connect stomp endpoint to use websocket or is there another workaround that I am not reading in this comment thread? Thanks, Michael Hitting this: Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:

Camel router with blueprint DSL. new handler(touri) picking up object from the previous handler in its own queue

2014-07-10 Thread jayne_h
We are using Camel blueprint DSL to define a router. The method in the bean the route is attached to takes input of a Position object and creates a CloseGroup object (finance terms) – the GroupingHandler. The route has a to:uri defined to pass it to another queue; the second camel route for this qu

Re: Using non-standard JMS correlation ID

2014-07-10 Thread kev
Hi Jeff Thanks for the reply, but I'm not sure why using exclusive mode here makes any difference. As I understand it, the difference between exclusive/shared is whether selectors are used to filter replies from other messages on a particular queue. What method is used to consume replies from

Re: Using non-standard JMS correlation ID

2014-07-10 Thread Jeff Bischoff
Hmm I meant to link you to the *exclusive* fixed reply queue, not the shared one. Correct link: http://camel.apache.org/jms.html#JMS-Request-replyoverJMSandusinganexclusiv efixedreplyqueue Jeff On 7/10/14 10:24 AM, "Jeff Bischoff" wrote: >Hi Kev, > >I believe you can use an exclusive fixed re

Re: Using non-standard JMS correlation ID

2014-07-10 Thread Jeff Bischoff
Hi Kev, I believe you can use an exclusive fixed reply queue for that. Please see: http://camel.apache.org/jms.html#JMS-AboutusingCameltosendandreceivemessage sandJMSReplyTo And especially see: http://camel.apache.org/jms.html#JMS-Request-replyoverJMSandusingasharedfix edreplyqueue I've had some

Re: doTry problem

2014-07-10 Thread angryzes
Thanks Claus, My problem here was that error is about org/apache/camel/processor/FinallyProcessor$1 Which look like internal camel class? -- View this message in context: http://camel.465427.n5.nabble.com/doTry-problem-tp5753169p5753650.html Sent from the Camel - Users mailing list archive

Re: ws-security

2014-07-10 Thread ychawla
Can you try to create a new exchange or use the out exchange when calling the proxied service? In my code, I have a special processor which copies a few headers to the out exchange and then calls it. This will remove all the exchange headers from the original exchange and remove a lot of the Came

Re: Concurrent problem with message Body using WireTap

2014-07-10 Thread ychawla
Thanks Guys, The detailed solution that Stanislaw outlined worked perfectly. In ServiceMix, you will need to install the following libraries: install -s mvn:uk.com.robust-it/cloning install -s mvn:org.objenesis/objenesis/1.4 Thanks for the assistance! -- View this message in context: http:/

RE: File is not moved to .camel folder once it is processed

2014-07-10 Thread Ravindra.Godbole
It seems your filter code is locking the file which is preventing camel from deleting the same. Do you see any .camelLock file created in the directory ? -Ravi -Original Message- From: sakchakravarthi [mailto:ajit.kalyan.chakravar...@gmail.com] Sent: Thursday, July 10, 2014 2:54 PM To:

Using non-standard JMS correlation ID

2014-07-10 Thread kev
Hi all I'm trying to create a Camel route that will post a message to a legacy system with a JMS interface, and wait for a reply on a specific JMS queue. This seems to be a pretty standard use of the inout exchange pattern. However, the legacy system does not use the standard JSMCorrelationID head

RE: File is not moved to .camel folder once it is processed

2014-07-10 Thread sakchakravarthi
Observed that file is not getting deleted only when i am using filter. Could any one please help me on this. -- View this message in context: http://camel.465427.n5.nabble.com/File-is-not-moved-to-camel-folder-once-it-is-processed-tp5753491p5753640.html Sent from the Camel - Users mailing lis

Debugging Out Of Memory

2014-07-10 Thread a746076drdrb
Hello,I've got OutOfMemory Exception and cannot find what causing the memory leak. The route itself downloads a file with 500 entries, splits it in streaming mode and for some filtered entries it downloads yet another file and puts it in a seda queue. In seda queue the message is processed while do