Re: How to stop the Polling Consumer?

2012-01-30 Thread Claus Ibsen
Hi See this FAQ http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html You can use onException to catch those severe exceptions, and then trigger the route to stop. Alternatively you can use a route policy, and have it stop/suspend the route, in case of a severe exception http://camel

How to stop the Polling Consumer?

2012-01-30 Thread alexey-s
Hi. The process of reading a lot of files in a directory. The content of files stored in the database. The database server generates an error ORA-00257: archiver error. Connect internal only, until freed. It is necessary to correct an error on the database server. It makes no sense to continue proc

Re: antInclude parameter

2012-01-30 Thread icemanltd
"Camel 2.10: Ant style filter exclusion." right there in front of me ... how did I miss that? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/antInclude-parameter-tp5443591p5443627.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: antInclude parameter

2012-01-30 Thread Claus Ibsen
Its a *new* option in the upcoming Camel 2.10 release. So its not available in any of the current Camel releases. On Tue, Jan 31, 2012 at 5:28 AM, icemanltd wrote: > Is "antInclude" parameter of file uri supported? I thought I had followed the > documentation but when I deploy I get FailedToCrea

antInclude parameter

2012-01-30 Thread icemanltd
Is "antInclude" parameter of file uri supported? I thought I had followed the documentation but when I deploy I get FailedToCreateRouteException which ultimately points to Unknown parameters=[{antInclude=landing/*.txt}]. The XML for this looks like -- View this message in context: http://camel.

[ANNOUNCE] Apache Camel 2.8.4 Released

2012-01-30 Thread hadrian
The Apache Camel project [1] is a powerful open source integration framework based on known Enterprise Integration Patterns [2]. The Camel PMC just issued a new patch release: Apache Camel 2.8.4. This release includes almost 90 bug fixes and comes about eight weeks after the previous patch rel

Re: Really Basic Question on ServiceMix, Karaf and Camel

2012-01-30 Thread Brian Topping
I'd characterize it as "ServiceMix 4 is a distribution of a number of other technologies, based on Karaf as it's OSGi framework and using Camel for EIP. One of those 'other technologies' is an instance of ActiveMQ for JMS implementation." The point is that a functionally identical installation

Really Basic Question on ServiceMix, Karaf and Camel

2012-01-30 Thread mattmadhavan
Hello, I'm just a little confused explaining how all these frameworks fit together. /My understanding is:/ ServiceMix is ESB that used Karaf as its OSGi Framework(with Felix/Equinox) and used Camel for routing messages. Its preferred JMS implementation being ActiveMQ. Am I missing something here?

Re: Custom Jackson ObjectMapper

2012-01-30 Thread GPRSLyons
Is there a currently implemented way in Camel to apply a custom naming strategy to Jackson (such as LowerCaseWithUnderscoresStrategy http://jackson.codehaus.org/1.9.4/javadoc/org/codehaus/jackson/map/PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.html)? Or will this only be possible when

Re: errroHandler is not redelivering

2012-01-30 Thread Babak Vahdat
Am 30.01.2012 um 17:48 schrieb atg roxx : > Hi Babak, > > > I cant provide the logs in debug mode but assure you that > SoapFaultClientException is getting generated. > But that makes it difficult for me to help however maybe others on the forum have got an idea about this behaviour. Babak

Re: errroHandler is not redelivering

2012-01-30 Thread atg roxx
Hi Babak, I cant provide the logs in debug mode but assure you that SoapFaultClientException is getting generated. and yes - the above is the copy paste issue; On Mon, Jan 30, 2012 at 3:30 PM, Babak Vahdat wrote: > Hi > > Can you turn the log level to DEBUG and send it *

Re: errroHandler is not redelivering

2012-01-30 Thread Babak Vahdat
Hi Can you turn the log level to DEBUG and send it *including* the place where, as you said, you make sure that a SoapFaultClientException is thrown? BTW I see STARS around your "ActiveMQComponent" spring bean declaration of yours: Is that just as Copy & Paste issue? Babak -- View this messa

Re: errroHandler is not redelivering

2012-01-30 Thread atg roxx
Any replies ??? I am stuck on this for last couple of days ... any help ?? --cheers, atgroxx On Sun, Jan 29, 2012 at 6:32 PM, atg roxx wrote: > first thanks for replying ... > > Now I am using apache-camel-2.8.3 and > > route configuration is > = > > @Override > public void co

Re: JMS and transaction

2012-01-30 Thread Claus Ibsen
On Mon, Jan 30, 2012 at 3:41 PM, Hervé BARRAULT wrote: > Hi, > thanks for the quick answer. > >> It does not support batching, not async TX, etc. > > But does it supports TX and concurrentConsumers ? > > I have to multiply the number of consumers as they are slower than the > producer. > Yes.

Re: JMS and transaction

2012-01-30 Thread Hervé BARRAULT
Hi, thanks for the quick answer. > It does not support batching, not async TX, etc. But does it supports TX and concurrentConsumers ? I have to multiply the number of consumers as they are slower than the producer. On 1/30/12, Claus Ibsen wrote: > On Mon, Jan 30, 2012 at 11:05 AM, Hervé BARRA

Re: Camel route JMS -> SOAP -> JMS

2012-01-30 Thread Babak Vahdat
Hi I don't know much about CXF however I intend to understand how it worked at all *without* any explicit type conversion as I've already recommended by this thread. The CxfProducer is invoked in the PAYLOAD mode, that's (if I'm not wrong) the Body of the Out Message populated into the Camel Excha

Re: Message-dependent sync with MINA?

2012-01-30 Thread Claus Ibsen
On Fri, Jan 27, 2012 at 4:32 PM, andlu702 wrote: > Hi > I have a situation where I am to replace a legacy server which has multiple > clients and the communication is with a custom raw-byte format over TCP. > I was thinking that camel MINA must be perfect for the task and have written > a codec to

Re: JMS and transaction

2012-01-30 Thread Claus Ibsen
On Mon, Jan 30, 2012 at 11:05 AM, Hervé BARRAULT wrote: > Hi, thanks for confirmation. > So for publication, i should use a transactions with sequential mechanism. > > I have seen also on activeMQ documentation : > http://activemq.apache.org/should-i-use-transactions.html : > Its also worth noting

Re: Camel route JMS -> SOAP -> JMS

2012-01-30 Thread Claus Ibsen
Hi See this FAQ http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html In the future we most likely should remove the setOutXXX in the DSL as they are not usable and adds to the confusion. People should generally just use setBody / setHeader / transform, and the Camel DSL figures

Re: Camel route JMS -> SOAP -> JMS

2012-01-30 Thread Willem Jiang
Hi, setOutHeader doesn't copy the message body, you'd better use the setHeader to that kind of job. On Mon Jan 30 20:59:18 2012, marnold wrote: I played around with custom TypeConverters with no luck. I couldn't understand the messageConverter documentation and wanted to avoid all things Spr

Re: Camel route JMS -> SOAP -> JMS

2012-01-30 Thread marnold
I played around with custom TypeConverters with no luck. I couldn't understand the messageConverter documentation and wanted to avoid all things Spring. On a whim I removed the and found I was right in that the payload is automatically converted to the JMS message body. For some reason the pres

Re: Camel File Component

2012-01-30 Thread Claus Ibsen
On Mon, Jan 30, 2012 at 1:15 PM, ckiran wrote: > Hi, > > Is the Camel File Component thread safe, can I use file component on the > server to append to a file, based on requests it recieves. > Yes if you use a fairly new version of Camel. We fixed that like 1 year ago or thereabouts (appending to

Camel File Component

2012-01-30 Thread ckiran
Hi, Is the Camel File Component thread safe, can I use file component on the server to append to a file, based on requests it recieves. -KC -- View this message in context: http://camel.465427.n5.nabble.com/Camel-File-Component-tp5441269p5441269.html Sent from the Camel - Users mailing list arc

Difference between Cache and Hazelcast component

2012-01-30 Thread Hervé BARRAULT
Hi, i have seen two different components in the documentation which are : - Cache (http://camel.apache.org/cache.html) based on EHcache - Hazelcast (http://camel.apache.org/hazelcast-component.html) What are the differences between these components ? It seems both allows distribution, transacti

RE: Using SEDA without losing messages

2012-01-30 Thread Sabin Timalsena
Hi, thanks a lot! That definitely was very helpful. However, if I use the concurrentConsumers option, I guess it means that I'll have separate JMS consumers with their own separate prefetch buffers. Would it be possible to control the options like prefetch buffers, consumer priority etc (the Acti

Re: Datacoding/Alphabet issue in SMPP

2012-01-30 Thread Taariq Levack
Hi Andre Actually the determinedAlphabet isn't set based on the dataCoding, it's determined isGsm0338Encodeable(). Please check your URI to be sure you've set the correct alphabet, one of those enums, or leave it to default. dataCoding is a different option in the URI, set that to 255. Taariq

Re: Using SEDA without losing messages

2012-01-30 Thread Claus Ibsen
Hi For parallel processing, use the concurrentConsumers | maxConcurrentConsumers on the JMS endpoint. That is better. On Mon, Jan 30, 2012 at 12:06 PM, Sabin Timalsena wrote: > Well, I wanted to include SEDA for the parallel processing of messages. > Maybe I should be trying something else? Lik

RE: Using SEDA without losing messages

2012-01-30 Thread Sabin Timalsena
Well, I wanted to include SEDA for the parallel processing of messages. Maybe I should be trying something else? Like the Threads DSL maybe. I haven't taken a good look at the Threads DSL though. What would you recommend? My scenario basically is like this: - Messages arrive in an ActiveMQ queue -

Re: Datacoding/Alphabet issue in SMPP

2012-01-30 Thread Claus Ibsen
On Mon, Jan 30, 2012 at 11:19 AM, andrer wrote: > You would think so, but the SMPP 3.4 spec isn't limited to just those 4 > values when it comes to datacoding. > If so feel free to create a JIRA ticket. Patches is of course welcome, we love contributions http://camel.apache.org/contributing.html

Re: Datacoding/Alphabet issue in SMPP

2012-01-30 Thread andrer
You would think so, but the SMPP 3.4 spec isn't limited to just those 4 values when it comes to datacoding. -- View this message in context: http://camel.465427.n5.nabble.com/Datacoding-Alphabet-issue-in-SMPP-tp5281005p5440992.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to impl bean-side of proxy w/Future return?

2012-01-30 Thread voodooless
So, is there any news on this issues? Is there any complete working examples of using Futures with Camel Proxy? The examples at http://camel.apache.org/using-camelproxy.html actually shows half of it. What does the implementation look like? -- View this message in context: http://camel.465427.n5

Re: JMS and transaction

2012-01-30 Thread Hervé BARRAULT
Hi, thanks for confirmation. So for publication, i should use a transactions with sequential mechanism. I have seen also on activeMQ documentation : http://activemq.apache.org/should-i-use-transactions.html : Its also worth noting that if you are using persistent messaging, the fastest way of usin

Re: Using SEDA without losing messages

2012-01-30 Thread Claus Ibsen
On Mon, Jan 30, 2012 at 10:48 AM, Sabin Timalsena wrote: > Hi > > Yes, I tried setting blockWhenFull=true. However it seems that the caller > blocks AFTER de-queuing the message from the activeMQ queue. So, if the size > of the seda queue is 4, then I'm having 5 messages being dequeued, the fifth

RE: Using SEDA without losing messages

2012-01-30 Thread Sabin Timalsena
Hi Yes, I tried setting blockWhenFull=true. However it seems that the caller blocks AFTER de-queuing the message from the activeMQ queue. So, if the size of the seda queue is 4, then I'm having 5 messages being dequeued, the fifth one probably waiting to get into the seda queue, and might have to

Re: Datacoding/Alphabet issue in SMPP

2012-01-30 Thread Claus Ibsen
On Mon, Jan 30, 2012 at 6:43 AM, andrer wrote: > Thanks for the reply Taariq. > > If I try any other value I get an IllegalArgumentException with "No enum > const Alphabet with value ...". This is thrown by the jsmpp Alphabet enum > that also only caters for datacodings of 0, 4 and 8. > > In the S

Re: Using SEDA without losing messages

2012-01-30 Thread Claus Ibsen
Hi Check the seda documentation. http://camel.apache.org/seda There is a blockWhenFull option you can use to set true to have the caller block if the seda queue is full On Mon, Jan 30, 2012 at 7:20 AM, Sabin Timalsena wrote: > Hello, > > > > I'm a beginner in camel and ActiveMQ and was recent

Re: Bindy - Avoiding bindy to discard a chunk of data when one line has incorrect format

2012-01-30 Thread Aida
Hi Claus, Thanks for your quick response. As you suggested we are working with chunks of size 1. The problem is that with this approach we can´t "play" with the chunk size in order to find a good balance between memory usage and performance (wich is very critical for our project). Thank you.