RE: camel http consumer for custom http server

2012-04-15 Thread Mohammad Shadab Ali
Hi, My custom http server supports the following features 1. GET and POST transactions via HTTP/HTTPS protocols, and can service multiple simultaneous requests 2. Determine whether the transaction body contains XML content. 3. If it is XML, determine whether the transaction body content is

Re: why decoder called when netty component stopping?

2012-04-15 Thread Claus Ibsen
Hi It could be Netty doing this, when its being stopped. Check the stop logic in Camel and Netty. I suggest to use a debugger and set a breakpoint in your decode, and then see what is going on when its stopping. On Mon, Apr 16, 2012 at 8:22 AM, xiangqiuzhao wrote: > 14:03:26.944 [main] DEBUG o.

why decoder called when netty component stopping?

2012-04-15 Thread xiangqiuzhao
14:03:26.944 [main] DEBUG o.a.c.i.DefaultExecutorServiceStrategy - ShutdownNow ExecutorService: java.util.concurrent.Executors$FinalizableDelegatedExecutorService@140984b 14:03:26.944 [main] INFO o.a.c.impl.DefaultInflightRepository - Shutting down with no inflight exchanges. 14:03:26.944 [main] D

Re: Too slow JMS pipeline when disableReplyTo=false

2012-04-15 Thread Claus Ibsen
Hi Have you seen the section on the Camel JMS doc page about request/reply over JMS? On Sun, Apr 15, 2012 at 8:02 PM, garrydias wrote: > I need to send messages to a JMS queue (jboss-messaging) and consume it in a > sync way. I assume you mean request/reply over JMS, where the caller waits for

Re: [Bindy] Having trouble with the "required" field

2012-04-15 Thread Magnus Palmér
Looking at the release note for the 2.9.2 candidate the CAMEL-5018 is not in the fixed bugs list. https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12320143 Den 16 april 2012 01:04 skrev Magnus Palmér : > According to Willem Jiang it is CAMEL-5018 that fixes this a

Re: [Bindy] Having trouble with the "required" field

2012-04-15 Thread Magnus Palmér
According to Willem Jiang it is CAMEL-5018 that fixes this and when I check the 2.9.x branch that change doesn't seem to be in there. Den 11 april 2012 12:22 skrev Aida : > http://camel.465427.n5.nabble.com/file/n5632391/bindyTest.zipbindyTest.zip > > Here I attach my JUnit test and the BindyClas

Too slow JMS pipeline when disableReplyTo=false

2012-04-15 Thread garrydias
I need to send messages to a JMS queue (jboss-messaging) and consume it in a sync way. I´ve tried this this first approach: This approach provides me 2 advantages and 1 (adn awful) disadva

Re: newbie question re LifecycleManagementStrategy

2012-04-15 Thread Bob Jolliffe
On 15 April 2012 08:56, Claus Ibsen wrote: > On Sat, Apr 14, 2012 at 11:35 PM, Bob Jolliffe wrote: >> Hi Claus >> >> On 13 April 2012 16:12, Claus Ibsen wrote: >>> Hi >>> >>> What runtime do you use? Tomcat, Standalone, OSGi etc? >> >> Both tomcat and jetty in different settings. >> >>> Camel sh

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

2012-04-15 Thread Christian Müller
I will share the result if I have something which is "sharable"... ;-) I have to find time to work more than only 20 minutes on it without an interruption... Best, Christian On Fri, Apr 13, 2012 at 8:48 AM, DEPREZ Arnaud AWL-IT < arnaud.dep...@atos.net> wrote: > Hi Christian ! > > Thanks for you

Re: Camel Jaxb- Not able to unmarshall a xml

2012-04-15 Thread Christian Müller
The interesting part is how do you define the "jaxbGetProductPriceOffersRequest"? However, I added a unit test to make sure it works and to show how [1]. I hope with this example you are able to solve your issue. [1] https://svn.apache.org/repos/asf/camel/trunk/components/camel-jaxb/src/test/java/

Re: Looking for advice or help on batching/queueing for a fairly simple route

2012-04-15 Thread Claus Ibsen
On Sun, Apr 8, 2012 at 4:14 AM, Aaron Daubman wrote: > Greetings, > > I have the following quite-simple route: > > ---snip--- > BeanIODataFormat dataCoreFormatTest = new > BeanIODataFormat("beanio/mappings.xml", "dataCoreFileTest"); > dataCoreFormatTest.setIgnoreInvalidRecords(true); //Ignore inva

Re: Consuming multiple JMS messages in one single transaction

2012-04-15 Thread Claus Ibsen
Hi The camel-jms components uses Spring DMLC for consuming messages. And its not designed for batched transactions in mind. And therefore this is not supported in Camel out of the box. You would need to use the JMS API for that. On Sat, Apr 14, 2012 at 2:20 PM, Thomas Johansen wrote: > Hi, >

Re: handling exception at endpoints

2012-04-15 Thread Claus Ibsen
On Sat, Apr 14, 2012 at 1:11 PM, Marco Mistroni wrote: > Hello Claus, >  sorry to bother, but i am still losing the plot with Exception Handling :( > i read Camel In action chapter, and this is what i came out with: > >     >             >             >                java.lang.Exception >        

Re: newbie question re LifecycleManagementStrategy

2012-04-15 Thread Claus Ibsen
On Sat, Apr 14, 2012 at 11:35 PM, Bob Jolliffe wrote: > Hi Claus > > On 13 April 2012 16:12, Claus Ibsen wrote: >> Hi >> >> What runtime do you use? Tomcat, Standalone, OSGi etc? > > Both tomcat and jetty in different settings. > >> Camel should pickup that bean automatic as it lookup the registr