RE: Not writing to Error queue

2012-07-26 Thread nishant.rupani
Hi, Yes, I've setup JMS. I checked the setup by putting "" directly into the router and it worked well. Few more things I noticed, - if I call a method directly from main route that throws test exception then it gets written to error queue fine. But if any of the recipient throws excepti

Re: How to keep sending in chronological order even when peer was down for a while

2012-07-26 Thread Willem Jiang
Yes, it is good way to leverage the Queue instead of managing the persistent of the message yourself. If you just has one consumer per queue, we can make sure the FIFO as you want. On Fri Jul 27 00:37:26 2012, Pontus Ullgren wrote: Hello, How do you receive the messages from the "external sys

Re: Not writing to Error queue

2012-07-26 Thread Willem Jiang
Hi, Why are you using the scheme of wmqError? Did you setup up jms component with id of wmqError rightly? On 7/25/12 5:50 PM, nishant.rupani wrote: I don't see any reference of retry or error queue write in logs. Method exceptionPrint is being called fine. Snippet of my context is - 1)

Re: camel-example-cxf-tomcat deployment errot in tomcat

2012-07-26 Thread Gnanaguru S
Great !. It worked. After adding spring-jar to WEN-INF\lib directory of my .war file. Cheers Guru -- View this message in context: http://camel.465427.n5.nabble.com/camel-example-cxf-tomcat-deployment-errot-in-tomcat-tp5716503p5716538.html Sent from the Camel - Users mailing list archive a

Re: Add thread pool configuration for SEDA using xml

2012-07-26 Thread billy ding
Hi William, Thanks for your reply. Maybe I didn't describe my question clearly. >From seda spec, it says "As for the difference between the two (Concurrent consumers and thread pool), note a thread pool can increase/shrink dynamically at runtime depending on load, whereas the number of concurren

Camel Graceful Shutdown not flushing Seda queue

2012-07-26 Thread wantastic
Hello all, I have been trying to see how I can gracefully shutdown the process in case of emergency. Here are the routes: ${in.header.errors} != null

Re: Question regarding SEDA & threadpool

2012-07-26 Thread wantastic
Thank you Willem, I have looked into the throttler and it is very useful. I will investigate further to see how I can make use of it. Thank you, Wan -- View this message in context: http://camel.465427.n5.nabble.com/Question-regarding-SEDA-threadpool-tp5716431p5716534.html Sent from the Camel

Re: Strange behavior with Camel Validator Component

2012-07-26 Thread Christian Müller
Hey Arnaud, did you could solve the issue by yourself? Best, Christian On Thu, Jul 26, 2012 at 3:55 PM, DEPREZ Arnaud AWL-IT < arnaud.dep...@atos.net> wrote: > Sorry, for this mail ! > > It was a very bad code that send this message "com.awl.acq.wlsi.sips.xsd" > doesnt contain ObjectFactory.cla

Re: camel-example-cxf-tomcat deployment errot in tomcat

2012-07-26 Thread Christian Müller
Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext This is a dependency to spring-web which isn't in the WAR's lib folder. I raised a JIRA for it: https://issues.apache.org/jira/browse/CAMEL-5472 You only have to add spring-web into your war/WEB-INF/

Re: How to keep sending in chronological order even when peer was down for a while

2012-07-26 Thread Pontus Ullgren
Hello, How do you receive the messages from the "external system" is this via messaging (JMS or other means) or some other protocol such as HTTP ? Since you are already comfortable with JMS (or at least you will have to become) why not use a JMS queue to keep the messages on the first JBoss unti

Re: JAXB exceptions with camel context xml in glassfish

2012-07-26 Thread Taran Singh
Changing the camel jars version to 2.10.0 fixed this. hope it help someone in future. cheers, TS -- View this message in context: http://camel.465427.n5.nabble.com/JAXB-exceptions-with-camel-context-xml-in-glassfish-tp5542035p5716521.html Sent from the Camel - Users mailing list archive at Na

RE: Not writing to Error queue

2012-07-26 Thread nishant.rupani
Yes, I am marking the exception as handled. Snippet of my context is - http://camel.apache.org/schema/spring"; trace="true"> java.sql.SQLException

Re: JAXB exceptions with camel context xml in glassfish

2012-07-26 Thread Taran Singh
Hi, I have the same exact problem, did you find the solution? Can you share? Thanks, TS -- View this message in context: http://camel.465427.n5.nabble.com/JAXB-exceptions-with-camel-context-xml-in-glassfish-tp5542035p5716505.html Sent from the Camel - Users mailing list archive at Nabb

Re: Not writing to Error queue

2012-07-26 Thread James Carman
Are you using transactions? If so, are you marking the exception as "handled"? On Thu, Jul 26, 2012 at 12:54 AM, nishant.rupani wrote: > Yes, it's WebSphere MQ. I have created ERROR queue as well. Please see my > other reply wherein I have put the code snippet as well. > > Regards, > Nishant >

Re: Camel SEDA queue size not setting up

2012-07-26 Thread wantastic
Babak, It seems to be working now! Thank you so much for your response. Wan -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SEDA-queue-size-not-setting-up-tp5716474p5716515.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: Strange behavior with Camel Validator Component

2012-07-26 Thread DEPREZ Arnaud AWL-IT
Sorry, for this mail ! It was a very bad code that send this message "com.awl.acq.wlsi.sips.xsd" doesnt contain ObjectFactory.class or jaxb.index to validate with a xsd. KR, Arnaud Deprez -Original Message- From: DEPREZ Arnaud AWL-IT [mailto:arnaud.dep...@atos.net] Sent: jeudi 26 juil

camel-example-cxf-tomcat deployment errot in tomcat

2012-07-26 Thread Gnanaguru S
Hi, I learning to deploy camel in Apache Tomcat. To start with I tried with camel-example-cxf-tomcat from camel 2.10 distribution. I built the example using maven, It got successfully built and I found the .war file from target directory. The moment I paste the .war, Tomcat shows a severe er

Re: Using ActiveMQConnectionFactory and ActiveMQComponent together

2012-07-26 Thread Alistair Young
thank you very very much - that transaction config works with the route. And thank you for the test code which I now intend to study. Hopefully I'll produce a blog post useful to others. cheers, Alistair --- Alistair Young Senior Software Engineer UHI@Sabhal Mòr Ostaig >>> Chris

Re: Using ActiveMQConnectionFactory and ActiveMQComponent together

2012-07-26 Thread Alistair Young
FWIW it was down to using bean id='activemq' for ActiveMQComponent. Calling it anything else solved the problem. There's an org.apache.camel.management.DefaultManagementAgent MBean created name="activemq" so I wonder if they were clashing. Alistair --- Alistair Young Senior Softw

Re: Camel ActiveMQ consumers do not consume after restart

2012-07-26 Thread Marco Zapletal
Sorry Christian, I forgot to mention this: We are currently using Camel 2.10 and ActiveMQ 5.6.0. But we have experienced this problem with ActiveMQ 5.5.1 as well (we can also test it with earlier version if this may help to find the problem). Before Camel 2.10 (final) we stayed with 2.10-SNAPS

Re: Add thread pool configuration for SEDA using xml

2012-07-26 Thread Willem Jiang
Once you specify the seda endpoint with the URI, you cannot change the setting. If you want to change the endpoint setting of route dynamically, you need to stop the route first and add a new route with the new configuration then. On Thu, Jul 26, 2012 at 9:01 AM, billy ding wrote: > Hi Claus, >

Strange behavior with Camel Validator Component

2012-07-26 Thread DEPREZ Arnaud AWL-IT
Hi all, I'm very surprised with this strange behavior. I'm using Camel 2.6.0-fuse-02-05 with Servicemix 4.3.1-fuse02-05. When I try to validate an xml file with the endpoint : validator:file:path_to_the_file, I get the following exception : 14:11:49,633 | ERROR | 82 - org.apache.camel.camel-cor

Re: CxfRsProducer is not thread safe

2012-07-26 Thread dumi_p
Hi, I created the JIRA[1]. CamelRoute sample below: /Dumitru // Camel CXF Rest from("cxfrs:bean:rsServer") .to("log:input") .to("cxfrs:bean:rsClient") .to("log:output") .process(new Processor() { @Override public void process(Exchange exchange) throws Exception { log.info("Exchange output: {}",

RE: Not writing to Error queue

2012-07-26 Thread nishant.rupani
Yes, it's WebSphere MQ. I have created ERROR queue as well. Please see my other reply wherein I have put the code snippet as well. Regards, Nishant From: Christian Mueller [via Camel] [mailto:ml-node+s465427n5716485...@n5.nabble.com] Sent: Thursday, July 26, 2012 3:03 AM To: Rupani, Nishant (I

How to keep sending in chronological order even when peer was down for a while

2012-07-26 Thread Jozsi_LXIII
Hi, We have to communicate between two JBoss servers via JMS. In one JBoss we plan to use Camel to send messages to the other JBoss instance. One of the main requirements is to send messages in the same order as we received them from the external system even the receiving JBoss was down or communi