Re: Camel SMPP reconnection strategy

2013-09-24 Thread fclose
Hi Christian, this certainly could be the reason. The question, not really related to Camel is how to identify that connections are lost and more important why. Upgrading Camel version should be possible, but looking at improvements or bug fixed, I can't see something related to my problem. --

Re: Must Processor check if Exchange has out message already?

2013-09-24 Thread yirco
OK, thank you. -- View this message in context: http://camel.465427.n5.nabble.com/Must-Processor-check-if-Exchange-has-out-message-already-tp5739977p5740139.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: why camel/mina cannot convert simple direct sequence of bytes to byte[]?

2013-09-24 Thread ruruskyi
My version of camel is 2.11.1. -- View this message in context: http://camel.465427.n5.nabble.com/why-camel-mina-cannot-convert-simple-direct-sequence-of-bytes-to-byte-tp5740120p5740121.html Sent from the Camel - Users mailing list archive at Nabble.com.

why camel/mina cannot convert simple direct sequence of bytes to byte[]?

2013-09-24 Thread ruruskyi
Hi, I expect there is simple answer to my question, but I cannot manage my UDP server working on public server. I created simple UDP server listener with Camel and Mina/2 (I tried both). Route: from("{{udp.endpoint}}") .process(new Processor() {

Re: ASP.Net SOAP Request > ActiveMQ > CAMEL > ASP.Net SOAP WS

2013-09-24 Thread Willem jiang
Hi, I think you can take a look at the cxf-example[1] which has JMS to HTTP transport route to solve the problem that you have. [1]http://camel.apache.org/cxf-example.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blo

ASP.Net SOAP Request > ActiveMQ > CAMEL > ASP.Net SOAP WS

2013-09-24 Thread Jerry
I am relatively new to JMS, so forgive my improper use of correct terminology. I have a need to queue ASP.Net SOAP requests due to the lack of reliable service availabilities on the remote end. It was decided to queue all the .Net SOAP requests in a fire and forget pattern to an ActiveMQ broker

Re: Consuming multiple JMS messages in one single transaction

2013-09-24 Thread bacar
Hi, I need to do something very similar to this request from April 2012, ie consume multiple JMS messages in a single transaction. Is the advice still current? Does the same also apply for the opposite, ie consuming a single message in a transaction, and then writing multiple output messages in on

Howto correctly use camel ftp siteCommand

2013-09-24 Thread bbuzzard
I have a Linux ftp script that connects to a remote server and then it executes: quote SITE LRECL=112 RECFM=FB BLKSIZE=6048 If I understand correctly siteCommand provides post connection command execution so I initially tried a camel route that sets the siteCommand=LRECL=112\nRECFM=FB\nBLKSIZE=60

Re: Camel SMPP reconnection strategy

2013-09-24 Thread Christian Müller
I think the only thing what could be happen is that Camel SMPP (the underlying jsmpp library) lost the connection to the SMSC. May be a firewall dropped the connection? In this case, the SMSC doesn't know the connection is dead. Camel will try to create a new connection to the SMSC. Could this be t

Fwd: Multicast and aggregate question

2013-09-24 Thread Erwin Etchart
Hi everybody. I have a question about this example. http://camel.apache.org/schema/spring"; autoStartup="true" trace="true"> ${in.header.origin} == 'XXX1'

[ANNOUNCEMENT] Apache Camel 2.11.2 released

2013-09-24 Thread Christian Mueller
The Camel community announces the immediate availability of the new patch release Camel 2.11.2. This bug fix release is issued after 2 month of intense efforts of the Camel 2.11.x maintenance branch and resolves 120 issues in total. The artifacts are published and ready for you to download [1] eit

Starting method when transfer completes

2013-09-24 Thread Bratislav Stojanovic
Hi all, I'm fetching some data every 30 secs from my FTP server into my local folder using a simple rule and that works fine. I would like now to start a method from one of my classes when (and only if) transfer completes successfully. What is the best way to achieve that? By using .process or? W

Re: Bindy infinite loop

2013-09-24 Thread fclose
I had the problem with 2.10.3 and did not test with newer version. -- View this message in context: http://camel.465427.n5.nabble.com/Bindy-infinite-loop-tp5739879p5740122.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel SMPP reconnection strategy

2013-09-24 Thread fclose
I have an application with 2 routes that are in charge of sending sms messages. We noticed that sometimes, the connection is lost (or seems to be lost). In those case, Camel tries to reconnect to the SMSC and what is happening is that in some cases instead of having 2 connections to the smsc we ha

Re: Camel SFTP stream download

2013-09-24 Thread dkum003
Please understand the camel first. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-SFTP-stream-download-tp5740106p5740119.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Email Attachments - Adding to Exchange Attachments

2013-09-24 Thread Bharath
Hi Reggi, Can you tell me your camel route?? so that i can suggest better solution for this problem Cheers!!! Bharath.R -- View this message in context: http://camel.465427.n5.nabble.com/Email-Attachments-Adding-to-Exchange-Attachments-tp5739863p5740118.html Sent from the Camel - Use

Re: Email Attachments - Adding to Exchange Attachments

2013-09-24 Thread Bharath
Hi reggi, I don't have any idea on this.Please contact Claus Ibsen for more details Cheers!!! Bharath.R -- View this message in context: http://camel.465427.n5.nabble.com/Email-Attachments-Adding-to-Exchange-Attachments-tp5739863p5740111.html Sent from the Camel - Users mailing lis

Re: Must Processor check if Exchange has out message already?

2013-09-24 Thread Claus Ibsen
Hi Yeah well spotted I logged https://issues.apache.org/jira/browse/CAMEL-6780 On Mon, Sep 23, 2013 at 6:02 PM, yirco wrote: > Hi Claus, > > thank you. I actually read this page. I was not just sure if the framework > should guarantee that the out message is always null when I receive exchange >

Camel SFTP stream download

2013-09-24 Thread Monisha
I have a camel route having SFTP location as the input endpoint. I have put streamDownload=true in the input url. The files in my input location are gzipped. I am using the following code to create a bufferedReader from the inputStream that I get from the exchange. (If I do a getClass() of the in

Re: Email Attachments - Adding to Exchange Attachments

2013-09-24 Thread contactreji
Hey Bharath!! Thanks a lot buddy!!! It works flawlessly !!! I have done the same in Production and Quality environment. But now I am a bit concerned about Production side. It seems like going for a complete fuse installations could really hurt the customer. They cant afford to loose service at a

Re: Camel 2.12.1 and ActiveMQ 5.8.0?

2013-09-24 Thread Claus Ibsen
Just give it a try. On Mon, Sep 23, 2013 at 6:38 PM, Paul Gale wrote: > Hi, > > (Apologies if this has been covered already...I did search but didn't find > anything explicit.) > > Is Camel 2.12.1 known to be compatible with ActiveMQ 5.8.0? > > I am looking to upgrade the version of Camel (2.10.3

Re: Duplicate Camel routes

2013-09-24 Thread Claus Ibsen
To add routes you can use the API on CamelContext as you do, eg addRoutes. You should just reuse the same CamelContext instance so the routes is running in the same camel container. On Tue, Sep 24, 2013 at 9:40 AM, Gnanaguru S wrote: > > Am sorry, Its my mistake. I am creating new camel context'

Re: Duplicate Camel routes

2013-09-24 Thread Gnanaguru S
Am sorry, Its my mistake. I am creating new camel context's every time, instead of adding routes to the existing Camel context. I am creating new default camel context every time: CamelContext context = new DefaultCamelContext(); context.addRoutes(new FTPRouteBuilder(context, channelId, fromUri

Re: Duplicate Camel routes

2013-09-24 Thread Claus Ibsen
If the routes are in the same then Camel should detect duplicate route ids and fail starting the routes. What Camel version do you use? On Tue, Sep 24, 2013 at 9:00 AM, Gnanaguru S wrote: > Hi Charles, > > While registering a new route, Is there any way in camel I can check whether > the same r

RE: using imap or imaps with triggered reader instead of poller

2013-09-24 Thread Ronny Aerts
Hello Claus, That is indeed what I would like to do: use a listener instead of polling. -- vriendelijke groeten, Ronny Aerts - Intris nv R&D Software Integration Architect Tel: +32-3-326.50.75 -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: maandag 23 september

Re: Duplicate Camel routes

2013-09-24 Thread Gnanaguru S
Hi Charles, While registering a new route, Is there any way in camel I can check whether the same routeid exist already ? Or I need to store the routeid in DB/XML for this validation ? I was searching that if Camel has any flag which will avoid creating routeid which exist already :) Thanks G