[ANNOUNCEMENT] Apache Camel 2.17.6 Released

2017-03-08 Thread Gregor Zurowski
The Camel community announces the immediate availability of the new Camel 2.17.6 patch release. This release contains 17 bug fixes and improvements applied in the past weeks by the community on the Camel 2.17.x branch. The artifacts are published and ready for you to download [1] either from the A

Re: Camel SFTP

2017-03-08 Thread David Hoffer
I wanted to close the loop here...we did finally get this to work. First, in debugging the Session that was using UserAuthNone. What ultimately fixed this was setting preferredAuthentications=keyboard-interactive in the production environment. What is odd is that in our dev/test environment havi

Re: Using method inside a choice/when

2017-03-08 Thread Peter J Nelson
I found the root cause of my issue. I previously had been setting a header, and simply forgot to set it here. Once the header is added back in, the predicate works as advertised. I obviously need a test for null in my code. -- View this message in context: http://camel.465427.n5.nabble.com

Re: Using method inside a choice/when

2017-03-08 Thread Peter J Nelson
public class OpenCNPredicate implements Predicate { private static Logger logger = LoggerFactory.getLogger(OpenCNPredicate.class); /** * Checks RMS to see if the CN in the STPCaseNo header exists in RMS or not * * @param exchange the exchange object subject to the test

Re: Using method inside a choice/when

2017-03-08 Thread souciance
Can you share your bean code? Den 8 mars 2017 5:46 em skrev "Peter J Nelson [via Camel]" < ml-node+s465427n5795092...@n5.nabble.com>: > I am trying to use a custom predicate inside of a choice in Spring XML, > but I'm finding my predicate is always being treated as "false" - the bean > itself doe

Using method inside a choice/when

2017-03-08 Thread Peter J Nelson
I am trying to use a custom predicate inside of a choice in Spring XML, but I'm finding my predicate is always being treated as "false" - the bean itself does not seem to be called.

Re: Camel Application Monitor tool

2017-03-08 Thread souciance
If you can include Jolokia in your environment then external applications like Nagios or others like Telegraf can parse the data and send to a db like influxdb and you can create alerts for instance in Grafana based on the metrics. Another option is to deploy in Karaf and use the decanter appliati

Re: Setting a route-id for REST DSL routes

2017-03-08 Thread Rajith Muditha Attapattu
Thanks Claus! On Sat, Feb 18, 2017 at 3:41 AM, Claus Ibsen wrote: > It uses the id of the verb if you dont have an embedded route > > get("xxx").id("myRouteIdHere") > > On Thu, Feb 16, 2017 at 8:11 PM, Rajith Muditha Attapattu > wrote: > > That doesn't work due to not being in the API for the R

Could not parse message.

2017-03-08 Thread Siddharth Patil
Hi, I am trying to send attachment/file across a SOAP web service through Apache Camel 2.15. When I am hitting the service I am facing the following exceptions : Please help. Thanks in advance. When invoked using the CXF client, this results in the following exception: org.apache.cxf.binding.

Re: Camel SFTP

2017-03-08 Thread finx
Hey Dave, Try to take a look in which UserAuth implementation you are using. In my case, I was using com.jcraft.jsch.UserAuthPassword and I could debug and see that my password changed because I was not using the RAW() function. You can see the implementation in your Session class, line 380:

Re: how to config two routes use the same endpoint?

2017-03-08 Thread vonezzz
i want to use two routedefine,not one route. -- View this message in context: http://camel.465427.n5.nabble.com/how-to-config-two-routes-use-the-same-endpoint-tp5794989p5795076.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel with Karaf + Blueprint

2017-03-08 Thread kumar
0 down vote favorite I am trying to use Camel(2.18.2) + karaf(4.0.8)+blueprint(Aries) for my migration as suggested by experts. I have separated files as Routes XML files and Beans XML files. RouteXml-> it has only Camel Routes BeanXml-> it has only beans defines *Structure::* *

what does camel.transactionKey actually mean

2017-03-08 Thread erik_romson
in the documentation /The id of the transaction for transacted exchanges. Note the id is not unique, but its the id of the transaction template that marks the transaction boundary for the given transaction. Hence we decided to name the key transactionKey and not transactionID to point out this fa

Re: Camel SFTP

2017-03-08 Thread Claus Ibsen
There is camel-exec to call executables such as .exe files. http://camel.apache.org/exec You can also build your own components if you fancy On Wed, Mar 8, 2017 at 1:16 AM, David Hoffer wrote: > The password does contain @ and # characters. However we are able to > connect with those no problem