RE: JMS queue also dequeued on Producer error

2012-10-02 Thread DEPREZ Arnaud AWL-IT
Hi, It's probably due to a transaction problem : In your case, when you read a message, your consumer need to keep open the current transaction during your process and at the end you can commit if everything goes well (so the message will be popped from the queue) or rollback (so the message

RE: Camel Twitter - Filter through message body

2012-10-02 Thread DEPREZ Arnaud AWL-IT
Hi, I think your bar header isn't set or I don't understand what you want to do. When you read a file from the file component of Camel, Camel won't set a bar header for you. The camel file component will set some header but not the bar one. Arnaud Deprez -Original Message- From:

RE: Naming your file with org.apache.camel.file.name

2012-09-04 Thread DEPREZ Arnaud AWL-IT
I don't see where you call the method sendTo(...). If you don't call it, Camel will put the Exchange ID as the name of your file. Arnaud Deprez Analyst-Programmer Acquiring Back-Office +32 2 727 72 09 arnaud.dep...@atos.net Chaussee de Haecht 1442 Haachtsesteenweg 1130 Brussels Belgium

RE: Type Conversion Exception

2012-08-27 Thread DEPREZ Arnaud AWL-IT
Yes JAXB is namespace aware. So your model classes (and so your xsd because you generated your model classes from your xsd), must have the same namespaces. If you don't find any solution, please provide us an xml sample and your xsd. KR, Arnaud Deprez Analyst-Programmer Acquiring Back-Office

RE: Strange behavior with Camel Validator Component

2012-07-27 Thread DEPREZ Arnaud AWL-IT
, 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.class or jaxb.index to validate with a xsd. KR, Arnaud Deprez -Original Message- From: DEPREZ Arnaud AWL

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 -

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

CronScheduledRoutePolicy in JUnit test

2012-05-30 Thread DEPREZ Arnaud AWL-IT
Hi all, I would like to test my CronScheduledRoutePolicy in my JUnit test using org.apache.camel.test.junit4.CamelSpringTestSupport. When I try to run my test, I get the following exception : java.lang.NoSuchMethodError: org.quartz.Scheduler.isStarted()Z at

RE: CronScheduledRoutePolicy in JUnit test

2012-05-30 Thread DEPREZ Arnaud AWL-IT
from a mobile device Am 30.05.2012 12:27 schrieb DEPREZ Arnaud AWL-IT arnaud.dep...@atos.net: Hi all, ** ** I would like to test my CronScheduledRoutePolicy in my JUnit test using org.apache.camel.test.junit4.CamelSpringTestSupport. ** ** When I try to run my test, I get

RE: CronScheduledRoutePolicy in JUnit test

2012-05-30 Thread DEPREZ Arnaud AWL-IT
Thanks, I solve the problem. It was a conflict with another dependency : dependency groupIdorg.apache.openejb/groupId artifactIdopenejb-core-osgi/artifactId version3.1.4/version /dependency KR, Arnaud Deprez -Original Message- From: Henryk Konsek

Aries TransactionManager + OpenJPA + ActiveMQ

2012-05-08 Thread DEPREZ Arnaud AWL-IT
Hi everyone, I use the Geronimo TransactionManager with org.jencks.amqpool.XaPooledConnectionFactory for ActiveMQ and OpenJPA for a database. Everything is configured with spring. I've done a simple test that take a message from a queue (input queue), persist it in a database and then send

write TransactionManagerLookup with geronimo for hibernate

2012-04-20 Thread DEPREZ Arnaud AWL-IT
Hi all, I use ServiceMix 4.3.1 with the felix framework. I would like to use the JTA TransactionManager from Geronimo with hibernate. Regarding to the documentation, it seems that we have to redefine our own TransactionManagerLookup class in order to tell to hibernate how to get the right

RE: OSGI Transaction Propagation to Camel Route

2012-04-19 Thread DEPREZ Arnaud AWL-IT
Hi Chris, Concerning your question, I don't really understand the meaning. Can you give me more details ? By the way, does anybody have an idea about when the 5.6 official release comes out ? Actually, I get exactly the same problem with the XA transactionManager from Aries and ActiveMQ and I

RE: OSGI Transaction Propagation to Camel Route

2012-04-19 Thread DEPREZ Arnaud AWL-IT
the list of dependencies you use ? Or the features ? Arnaud Deprez  please don't print unless you really need to -Original Message- From: DEPREZ Arnaud AWL-IT Sent: jeudi 19 avril 2012 14:24 To: users@camel.apache.org Subject: RE: OSGI Transaction Propagation to Camel Route Hi Chris

RE: Camel Jaxb- Not able to unmarshall a xml

2012-04-16 Thread DEPREZ Arnaud AWL-IT
(jaxbGetProductPriceOffersRequest) .log(after marshalling) .to(Constants.LOG_IN_INFO_WITH_HEADERS) .process(new MondialRequestProcessor(userId, password)) .log(Finished processing +MondialConstants.GETPRODUCTPRICEOFFERS+Constants.LOG_CORRELATIONID); --cheers, atg roxx On Fri, Apr 13, 2012 at 12:20 PM, DEPREZ Arnaud AWL

RE: How to suspend/resume a route dynamically by programmation ?

2012-04-13 Thread DEPREZ Arnaud AWL-IT
, if I finished it. May I can contribute some general solution back to Apache. Best, Christian On Thu, Apr 12, 2012 at 5:02 PM, Claus Ibsen claus.ib...@gmail.com wrote: On Thu, Apr 12, 2012 at 4:37 PM, DEPREZ Arnaud AWL-IT arnaud.dep...@atos.net wrote: Thanks for your answer but I already

RE: Camel Jaxb- Not able to unmarshall a xml

2012-04-13 Thread DEPREZ Arnaud AWL-IT
Maybe it's a problem of namespaces. Can you tell me if you use different namespaces for GetProductPriceOffers and partner/request element ? If they are different, it must be specified in your JAXB java class model. KR, Arnaud Deprez -Original Message- From: Christian Müller