Error in XML DSL Tokenize

2015-07-31 Thread Felix Thomas
hello, I have a route defined as http://camel.apache.org/schema/spring";> ${body} I get this error as below on execution, I checked everywhere dont see a solution. I am using the version 2.15.1 of

Error in Tokenize in XMl DSL

2015-07-31 Thread Felix Thomas
hanks Claus worked line a Charm. But i got stuck on the CSV format. I have changed the XML to below, since I want to skip the First line of the CSV and skipFirstLine is not present in the version 2.15.1. I get the below error, But if I remove ski

Some Stupid Questions

2015-08-02 Thread Felix Thomas
Hello, I had some doubts so I thought the forum is the best way to get some answers. 1) Since I am using XML DSL earlier Java DSL. I have a Bean defined like below. Currently the Constructor is passed. But How do I make it dynamic i.e. decide based on the route which argument to pass. D

Logging Error in Message or Exchange in DB (Not getting the exception in Processor)

2015-08-10 Thread Felix Thomas
Hello, I tried the Below error Handling using DeadLetterChannel , but currently I am not getting the exception or error in my processor . I want to log in DB the message along with the reason it failed , for example JDBC exception, Null pointer exception , data Validation exception in some

Getting both Original Message Body & Modified Message Body on Any error/Exception in Routes

2015-08-12 Thread Felix Thomas
Hello, I have configured my DeadLetterchannel as below . I am getting the Oriiginal Body in the ErrorHandler , But i want to have the original and the modified body which I need to log in a DB at a Global Level. Is it Possible to get Both in the Message Object.?? Below the config.

Muiltcast or SEDA (Performance)

2015-08-14 Thread Felix Thomas
hello, I have configured the below route, works fine . but have some doubts based on it http://camel.apache.org/schema/spring";> select * from TEST ${body}

Load Bean Definitions from XML in Camel

2015-08-21 Thread Felix Thomas
hello, I know we can load RouteDefinations from XML, but can we have the same idea of loading for Beans from a XML like Spring. Is there anything already available inAPI? Regards, Felix T

Camel and ISO 8583

2015-08-25 Thread Felix Thomas
I’ve been looking around for a component (or library) for working with ISO 8583 messages with Camel. I’ve seen several initiatives out there, but they seem to all kind of dead-end without any official integration with Camel. Do we have there something out there that is robust, well supported and

Send Message to a queue before start & end of a route starts prcoessing

2015-08-28 Thread Felix Thomas
Hello, I have set a Timer componet pointing to a DB, which is triggered at some interval. I want to send a message to a queue with some value set in the Header before the processing starts & after its ends . Like Message -STARTED Message - DATA1 Message - DATA2 Message - END I tried

kyro data format in camel

2015-08-31 Thread Felix Thomas
hello, I have used kyroformat for marshalling using a bean as below . I get the below message in the logs , not sure is its an issue or not , since i see the messages marshalled in the queue..Do i need to implement something more DEBUG 28-08 16:50:19,456

Timer,Quartz,Spring based scheduler question

2015-09-07 Thread Felix Thomas
hello, The Timer component does not have a cron option by itself. Quartz,Schduler has it only. Hope I am correct. My question is. In case if I have setup a route using cron job to execute after 2 hours. And due to some reason, too much backlog of data etc. the the processing

Trigger a event to a queue when File component starts processing files

2015-09-08 Thread Felix Thomas
hello, I am try to send a message to a queue when the file componenet starts processing any file. But I since I am using XML DSL not sure how to configure it. I am setting the Body with a different value just for the message. This is causing the processing to not go forward. Since I am

Issue in consuming from a rabbitMQ queue usinh Camel rabbit MQ componenet

2015-09-10 Thread Felix Thomas
hello, I get the below error, message, and not able to pint point what exactly is the issue , if i make the queue as a Publish (to) in camel it works fine . So not sure why the connection is failing. I am using JAVA DSL . 2015-09-10 14:49:21,204 [main ] DEBUG DefaultManagementA

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

Consume messages & rollback

2015-11-11 Thread Felix Thomas
Hello, I have a scenario like 1) reading from a queue (Rabbitmq or ActiveMQ) 2) Processing- transformation 3) Send to another queue . I want my process to be failsafe i..e. unless the message is sent to the endpoint the original message in the producer queue should not get consum

Transacted Mode Not working as expected Camel spring JMS

2015-11-19 Thread Felix Thomas
hello, I am not sure if I have implemented it correctly. I have the below route definition . But in case of exception in DeadLetterChannel the messages are acknowledged and removed from the queue. If I dont configure the deadletterchannel route then the ActiveMQ moves the messages to its DL

Basicdatasource Connection question Camel

2015-11-26 Thread Felix Thomas
hi, I i used a org.apache.commons.dbcp.BasicDataSource as a bean connection in camel. By default how much connections does it open. As per the API I see default as 1 unless I use poolconnectionfactory etc. So my real question in the camel Spring XML , i use the same Datasource definition for 2

Camel Shutdown route Parent & children Behaviour

2015-11-29 Thread Felix Thomas
hello, I could not test it yet, but what is the behaviour of camel regarding stopping a route which has spawned different routes. Does stopping the Parent route stop the other children routes or we have ti first stop the children routes and then stop the parent route. Example. http://camel.apach

Multiple Datasource in sql or JDBC component

2015-12-01 Thread Felix Thomas
hello, From the document I could not find any option to use multiple datasource for a single SQL statement . For example I have a Join to another table in another oracle schema. Is it possible to be able to do that in camel sql or JDBC componenet ?. Or I will have to use a bean for that specific

statement.maxRows not working as expected camel jdbc

2016-01-06 Thread Felix Thomas
hello, I have an issue (not sure if its a bug) in camel. I have tested in multiple versio*n i.e. 2.15.1,2.16.0,2.16.1 *also but still the same result. I have a route defined below in spring XML . When i start the camel instance it works fine at the first time i.e it fetches only 2 re

Camel file component URI dynamic options & Filter query

2016-01-27 Thread Felix Thomas
hello, I am trying to make a scenario execute using Camel Spring DSL . My idea is to processing some files in a numerical seq order from a folder , after processing a file I need to check for the next file sequence which need to be processed from DB. The logic of get the next sequen