[ANNOUNCEMENT] Apache Camel 2.17.3 Released

2016-08-09 Thread Claus Ibsen
The Camel community announces the immediate availability of the new patch release Camel 2.17.3. This release contains 39 bug fixes and improvements applied in the past months by the community on the Camel 2.17.x branch. The artifacts are published and ready for you to download [1] either from the

Re: camel router manage

2016-08-09 Thread Claus Ibsen
That would be the same, java and xml dsl is the same for endpoint uris and their options. On Wed, Aug 10, 2016 at 5:43 AM, wave <275469...@qq.com> wrote: > Hi, > > do you know how to use the control bus in the Spring XML Extensions? > I have found the example , but it is an java code. > > > > -- >

Re: ahc-ws

2016-08-09 Thread web_nab...@sunilsamuel.com
Hi Sanjana, Were you able to find a solution for this? If so, please update the post. thanks, sgs. -- View this message in context: http://camel.465427.n5.nabble.com/ahc-ws-tp5770524p5786217.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Setting up SMS Router Project

2016-08-09 Thread Chathuraka Waas
Hi Sashika, I was going through the issue and it seems apache camel smpp doesnt support the bind type TRX yet. Found this ticket in jira project. https://issues.apache.org/jira/browse/CAMEL-5963 I'm really new to apache camel so i'm not sure how to help out to fix that issue. I can try to help o

Re: Setting up SMS Router Project

2016-08-09 Thread Chathuraka Waas
Hi, Thanks for the reply. I managed to run the sms-router project :). But now i'm getting an error from smsc side because i'm passing a incorrect variable i guess. Need to check with service provider i guess. Just in case you have come across it before here's the error. org.jsmpp.extra.NegativeRe

Re: Read file one after other in sequence

2016-08-09 Thread ganga_camel
Thanks for the inputsIt works as expected now... Thanks Vitalii. -- View this message in context: http://camel.465427.n5.nabble.com/Read-file-one-after-other-in-sequence-tp5786216p5786223.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Setting up SMS Router Project

2016-08-09 Thread Sashika
1. Configure camel in your JEE application. Please follow http://camel.apache.org/cdi.html 2. Define a route builder 3. Add a route that listens to your smsc (Please refer the camel smpp for settings) @ContextName("camel-context")classMySmsRouteextendsRouteBuilder {@Overridepublicvoidco

Re: camel router manage

2016-08-09 Thread wave
Hi, do you know how to use the control bus in the Spring XML Extensions? I have found the example , but it is an java code. -- View this message in context: http://camel.465427.n5.nabble.com/camel-router-manage-tp5786024p5786220.html Sent from the Camel - Users mailing list archive at Nabble.

Re: Read file one after other in sequence

2016-08-09 Thread Vitalii Tymchyshyn
Well, don't use seda as it's asynchronous. Use direct instead. Best regards, Vitalii Tymchyshyn Вт, 9 серп. 2016 о 13:02 ganga_camel пише: > Hi, > > My requirement is to split the large file into smaller files and then > process one file at a time. > > However, the camel file component takes th

Calling one web service from another

2016-08-09 Thread awilliams
Hi, I'm attempting to connect three routes together as shown below, but the problem is that the very first incoming web service endpoint has a different return type than a later web service that I call (but has the same parameter). I therefore get an exception on calling the second web service tha

Read file one after other in sequence

2016-08-09 Thread ganga_camel
Hi, My requirement is to split the large file into smaller files and then process one file at a time. However, the camel file component takes the lock on all the split files and starts processing. This is consuming all of the CPU and Memory usage goes high and at one point I get OutofMemoryExcept

Re: Installing Camel-SQL - Unable to resolve javax.mail

2016-08-09 Thread Brad Johnson
I couldn't be sure with digging into it further but you have a 1.5.x installed, the semantic versioning indicates that the bundle you require be something greater than 1.4.x, but you get a wiring failure. There's a bug reported against websockets for Camel 2.18 for just the same error and the Mave

Re: Installing Camel-SQL - Unable to resolve javax.mail

2016-08-09 Thread Vince Iglehart
I'm not sure if I understand exactly what your saying. Are you thinking the java packaging structure for objects inside javax.mail component may have changed from Java 1.4 to 1.5? When I look at the dependencies in the features.xml located at https://repo1.maven.org/maven2/org/apache/camel/kara

Re: Installing Camel-SQL - Unable to resolve javax.mail

2016-08-09 Thread Brad Johnson
https://mvnrepository.com/artifact/javax.mail/mail https://mvnrepository.com/artifact/javax.mail/javax.mail-api I suspect it is related to the note in there that they moved the bundle between the versions. Technically that shouldn't make any difference but if they modify the private package/expor

Re: Installing Camel-SQL - Unable to resolve javax.mail

2016-08-09 Thread Brad Johnson
Interesting. I wonder if it is related. https://issues.apache.org/jira/browse/CAMEL-9689 The javax.mail seems to be a common thread there. I wonder if some exports or namespaces got changed in the higher revision? On Tue, Aug 9, 2016 at 9:46 AM, Vince Iglehart < vince.igleh...@kniferiver.com> w

Re: camel sql insert ouput

2016-08-09 Thread Vitalii Tymchyshyn
Recently I started using as a poor man's function block. It creates a subexchange, thus preserving parent exchange intact. It has next features: * preserves parent exchange * allows to specify "parameter" to be passed into the inner block. It's very useful when you have a composite structure as a

Re: Installing Camel-SQL - Unable to resolve javax.mail

2016-08-09 Thread Vince Iglehart
I agree with your assessment. However, the part that I don't understand is how it is missing. When I run the exports command from Karaf, this is what I get. I read this to say that javax.mail 1.5 is available. karaf@root()> exports | grep javax.mail com.sun.mail.handlers

Re: camel sql insert ouput

2016-08-09 Thread Claus Ibsen
You likely need to upgrade Camel as in newer versions the body is preserved for SQL INSERT statements in camel-sql. However attachments is not preserved, I logged a ticket about that. https://issues.apache.org/jira/browse/CAMEL-10228 On Tue, Aug 9, 2016 at 3:41 PM, Ronny Aerts wrote: > Hello Cla

Re: Installing Camel-SQL - Unable to resolve javax.mail

2016-08-09 Thread Brad Johnson
Apparently the Camel-SQL feature has a dependency on javax.mail which is not installed in your karaf. On Tue, Aug 9, 2016 at 9:12 AM, Vince Iglehart < vince.igleh...@kniferiver.com> wrote: > Hello, > I am using Karaf 4.0.5. I am attempting to install feature camel-sql. > When > I attempt the ins

Re: CDI before Camel 2.17?

2016-08-09 Thread Brad Johnson
Antonin, Thanks, I may do that. I'm waiting for the version Fuse 6.3 to release. It is past due but getting close to where a milestone release should come out. Today they are at 900 issues closed and 22 remaining. So close. If it were farther off I'd be a bit more willing to experiment manually

Installing Camel-SQL - Unable to resolve javax.mail

2016-08-09 Thread Vince Iglehart
Hello, I am using Karaf 4.0.5. I am attempting to install feature camel-sql. When I attempt the install I receive the following error message: Error executing command: Unable to resolve javax.mail/1.4.5: missing requirement [javax.mail/1.4.5] osgi.wiring.package; filter:="(&(osgi.wiring.package

RE: camel sql insert ouput

2016-08-09 Thread Ronny Aerts
Hello Claus, I use version 2.15.6 of camel. -- Kind regards, Ronny Aerts – Intris nv – Wapenstilstandlaan 47, 2600 Berchem, Belgium R&D Integration Architect Prince II certified – ITIL certified Tel: +32-3-326.50.75 -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent

Re: camel sql insert ouput

2016-08-09 Thread Claus Ibsen
What Camel version and which camel component do you use for SQL? On Tue, Aug 9, 2016 at 3:13 PM, Ronny Aerts wrote: > Hallo camel community, > > I'm doing a normal sql insert into an sql server database and it seems that > after the insert, my exchange in body and all my attachments are gone. Is

camel sql insert ouput

2016-08-09 Thread Ronny Aerts
Hallo camel community, I'm doing a normal sql insert into an sql server database and it seems that after the insert, my exchange in body and all my attachments are gone. Is this normal behavior? In a certain case I really need to keep my attachments. -- vriendelijke groeten, Ronny Aerts

Re: Use splitter to ftp List of InputStreams

2016-08-09 Thread rwijngaa
No, that doesn't matter (or else it would fail earlier). It's because i supply a LIST of InputStreams instead of one. Regards Rino -- View this message in context: http://camel.465427.n5.nabble.com/Use-splitter-to-ftp-List-of-InputStreams-tp5786195p5786197.html Sent from the Camel - Users mail

Re: Use splitter to ftp List of InputStreams

2016-08-09 Thread souciance
The problem could be here: allFiles.add(oldExchange.getIn().getBody(InputStream.class)); You are expecting InputStream but the body is actually FileInputStream. Maybe you need to convert from FileInputStream to InputStream if that is what you want? -- View this message in context: http://cam

Use splitter to ftp List of InputStreams

2016-08-09 Thread rwijngaa
Hi, I'm using the splitter as mentioned here , but with a modified aggregation strategy in order to accumulate all files processed and ftp the all (the aggregator in the link will just return

Re: Setting up SMS Router Project

2016-08-09 Thread Chathuraka Waas
Hi Thanks for the reply. I had a look on the documentation. The current setup i'm having is i have a JEE application thats deployed in jboss wildfly. Where can i add these routes in the application and i want to keep listening to the SMSC all the time as well. On Tue, Aug 9, 2016 at 12:30 PM, Sas

Re: CDI before Camel 2.17?

2016-08-09 Thread Antonin Stefanutti
Hi Brad, If you’re interested in OSGi and CDI, you may want to check PAX CDI https://github.com/ops4j/org.ops4j.pax.cdi. There is an example available on how to use it with Camel here: https://github.com/apache/camel/tree/master/examples/camel-example-cdi-osgi Antonin > On 08 Aug 2016, at 15:

Re: CDI - Having 2 contexts within the same JVM

2016-08-09 Thread Antonin Stefanutti
Hi, Camel CDI is capable of managing multiple Camel contexts within the same JVM / same CDI container. You can find more information in http://camel.apache.org/cdi.html#CDI-MultipleCamelcontexts. It documents how to declare these contexts and how to bind RouteBuilder to them. Generally, you wo

spark-rest fails with too many files open

2016-08-09 Thread Markus P
hi, we are triggering REST api exposed by spark-rest multiple times sequentially and at some point we get this exception: How to fix java.net.SocketException: Too many files open

Re: Setting up SMS Router Project

2016-08-09 Thread Sashika
If you have access to an smsc just use camel smpp http://camel.apache.org/smpp.html On Tue, Aug 9, 2016 11:52 AM, Chathuraka Waas chathuraka.w...@gmail.com wrote: Hi, I'm really new to apache camel and looking to implement a system to send and receive SMS from my application. While read