RE: Does Camel-sftp (or JSCH) supports Dual Authentication?

2018-09-11 Thread Goyal, Arpit
Any idea about this experts? -Original Message- From: Goyal, Arpit Sent: Wednesday, September 5, 2018 3:55 PM To: users@camel.apache.org Subject: [CAUTION] Does Camel-sftp (or JSCH) supports Dual Authentication? Hi, I was wondering if the Apache Camel SFTP component support Dual

Does Camel-sftp (or JSCH) supports Dual Authentication?

2018-09-05 Thread Goyal, Arpit
Hi, I was wondering if the Apache Camel SFTP component support Dual Authentication? Or maybe it is a question of whether JSCH supports the same or not. Any one tried this - because from documentation it looks like the first available option will be picked based on 'preferredAuthentications'?

Changing large in-memory data to file based operation

2018-03-09 Thread Goyal, Arpit
Hello Camel Experts, Currently we have something of below route (as simplified version), where we keep reading records 1000 at a time and keep formatting and holding in memory. Current Simplified Solution: from("direct:processing") .bean() .choice()

useList with antInclude for SFTP

2017-05-15 Thread Goyal, Arpit
Hi Colleagues, We are creating Consumer Template using Camel context passing it sftp URI to read file. As our use-case is to read file matching pattern, we are using 'antInclude'. Turns out we have to add 'useList' also part of the URI, else we are forced to give fileName in the URI. The

RE: Camel Http vs Camel Http4 - Content Type Header

2017-04-08 Thread Goyal, Arpit
a look later during the day and get back to you. Den 6 apr. 2017 7:44 fm skrev "Goyal, Arpit [via Camel]" < ml-node+s465427n5797051...@n5.nabble.com>: > Hi souciance, > > Below is the complete test case I have written to debug this problem. You > can import and f

RE: Camel Http vs Camel Http4 - Content Type Header

2017-04-05 Thread Goyal, Arpit
LOG.info("*HTTP SUCCESS BEGIN*"); LOG.info(exchange.getIn().getBody(String.class)); LOG.info("*********HTTP SUCCESS END*"); } }); from(startHttp4).s

Re: Camel Http vs Camel Http4 - Content Type Header

2017-04-04 Thread Goyal, Arpit
Anyone else has idea of this camel logic? Sent from my iPhone > On Apr 3, 2017, at 4:33 PM, Goyal, Arpit <arpit.go...@sap.com> wrote: > > Hi Claus, > > HttpProduce -- from camel-http4 library is setting the content-type > 'text/plain' in method [1] line # 488 (ca

RE: Camel Http vs Camel Http4 - Content Type Header

2017-04-03 Thread Goyal, Arpit
che.org Subject: Re: Camel Http vs Camel Http4 - Content Type Header Well it should be pretty easy to setup a http server and see what headers your route are sending and compare that to what the actual server wants. If camel-http4 is suppressing some headers then perhaps try another component. On T

Camel-CXF issue with Log4J

2017-03-24 Thread Goyal, Arpit
Hi Colleagues, We are facing the same issue as reported in https://issues.apache.org/jira/browse/LOG4J2-1298 when using Camel-CXF (2.16 version) / CXF (cxf-core 3.0.10). Has anyone faced similar issue? Do we need to upgrade Apache CXF version? Regards, Arpit.

FW: Using PGPDataFormat instead of Bouncy Castle code

2017-03-05 Thread Goyal, Arpit
Hello, Have doubts about the PGP Encryption by using PGP Data Format. - We have the following code using Bouncy Castle library to sign and encrypt the payload, given the private key and passphrase for Signing and public key for Encryption. - Wanted to know if we replace it

RE: Anyone experimented with verifying OAuth SAML Bearer Assertion with Camel?

2017-02-22 Thread Goyal, Arpit
at the CXF list if it is of any interest Cheers, Sergey On 21/02/17 21:22, Goyal, Arpit wrote: > Hi, > > We are implement OAuth+SAML Bearer assertion and wanted to know if someone > played around with JETTY acting as OAuth token server based on SAML Assertion? > > Basically - http

Anyone experimented with verifying OAuth SAML Bearer Assertion with Camel?

2017-02-21 Thread Goyal, Arpit
Hi, We are implement OAuth+SAML Bearer assertion and wanted to know if someone played around with JETTY acting as OAuth token server based on SAML Assertion? Basically - https://tools.ietf.org/html/draft-ietf-oauth-saml2-bearer-23 we want to test within camel route with JETTY as OAuth Token

RE: camel 2.18.2 not consuming files from SFTP server which uses proxy

2017-02-15 Thread Goyal, Arpit
I had the same issue and asked the question for which I got no reply. http://camel.465427.n5.nabble.com/Support-SFTP-Absolute-Path-for-directory-td5791851.html#a5791897 Behavior changed tickets: https://issues.apache.org/jira/browse/CAMEL-8828 https://issues.apache.org/jira/browse/CAMEL-8844

RE: CAMEL-5595 (Unrecognized SSL message, plaintext connection?)

2017-02-09 Thread Goyal, Arpit
Anyone has idea on this one? Is setting 'proxyAuthScheme=http4' the only possible approach? Regards, Arpit. -Original Message- From: Goyal, Arpit [mailto:arpit.go...@sap.com] Sent: Wednesday, February 8, 2017 5:39 PM To: users@camel.apache.org Subject: CAMEL-5595 (Unrecognized SSL

RE: Camel Http vs Camel Http4 - Content Type Header

2017-02-09 Thread Goyal, Arpit
, 2017 at 10:32 PM, Goyal, Arpit [via Camel] < ml-node+s465427n5793736...@n5.nabble.com> wrote: > Hi, > > We were on Camel-Http (2.16) and moving to Camel-Http4 (2.16) and saw that > URL which worked with Camel-http now fails with Camel-Http4 with status > code - 415 (U

Camel Http vs Camel Http4 - Content Type Header

2017-02-09 Thread Goyal, Arpit
Hi, We were on Camel-Http (2.16) and moving to Camel-Http4 (2.16) and saw that URL which worked with Camel-http now fails with Camel-Http4 with status code - 415 (Unsupported Media Type). Caused by: org.apache.camel.http.common.HttpOperationFailedException: HTTP operation failed invoking

RE: (httpS / SSL communication) java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

2017-02-04 Thread Goyal, Arpit
My Bad - Please ignore. Stupid me. Got it working. Basically when I was trying to load 'truststore' somehow it was coming 'null' and hence custom trust manager had no certificates (empty). Regards, Arpit. -Original Message- From: Goyal, Arpit [mailto:arpit.go...@sap.com] Sent

(httpS / SSL communication) java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

2017-02-04 Thread Goyal, Arpit
Hi Colleagues, With a help of TestNG test case, we are hosting CAMEL JETTY HTTPS service in one camel context and invoking HTTPS call using CAMEL-HTTP4. This works if I used the standard approach of providing 'org.apache.camel.util.jsse.KeyStoreParameters.KeyStoreParameters()' by giving

Disable printing Message History to Logger

2016-12-26 Thread Goyal, Arpit
Due to audit of our logs, we want to remove printing of Message History on exceptions and control programmatically how and when to print into the Logger? Any configuration in camel which can prevent this? Or it is a default behavior? Regards, Arpit.

RE: Support SFTP Absolute Path for directory

2016-12-22 Thread Goyal, Arpit
did with native sftp implementation. Regards, Arpit. -Original Message- From: Goyal, Arpit [mailto:arpit.go...@sap.com] Sent: Thursday, December 22, 2016 1:12 AM To: users@camel.apache.org Subject: Support SFTP Absolute Path for directory Hi All, Camel doesn't support absolute path

Support SFTP Absolute Path for directory

2016-12-22 Thread Goyal, Arpit
Hi All, Camel doesn't support absolute path based on the documentation - Where directoryname represents the underlying directory. The directory name is a relative path. Absolute paths are not supported. Due to which when we send /Home/Inbound/Data.csv as part of the URL, the actual value

Camel Sftp - Stepwise & No Such File

2016-12-21 Thread Goyal, Arpit
Hello For a running scenario we switch to our native JSCH implementation to Camel-Ftp implementation to connect to SFTP server. Server Folder: home/arpit/outbound/ File Name: myDailyReport.csv Older implementation using native JSCH code - we used to first perform -

RE: Sftp Retry event handling?

2016-12-14 Thread Goyal, Arpit
Anyone has any idea about this one? -Original Message- From: Goyal, Arpit [mailto:arpit.go...@sap.com] Sent: Sunday, December 11, 2016 8:37 PM To: users@camel.apache.org Subject: Sftp Retry event handling? Hi, We have requirement to do special handling in between SFTP Retries

Sftp Retry event handling?

2016-12-11 Thread Goyal, Arpit
Hi, We have requirement to do special handling in between SFTP Retries. Is there a way to plug in some code when sftp does retry? Also, would it impact the delay time? Regards, Arpit.

RE: toD doesn't support RAW function for passwords (Bug?)

2016-12-09 Thread Goyal, Arpit
- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Friday, December 9, 2016 2:41 AM To: users@camel.apache.org Subject: Re: toD doesn't support RAW function for passwords (Bug?) On Fri, Dec 9, 2016 at 11:36 AM, Goyal, Arpit <arpit.go...@sap.com> wrote: > Ouch. > > And I kno

Is Apache Camel session planned for ApacheCon'2017

2016-12-09 Thread Goyal, Arpit
Just wanted to know if anyone planning to present new features of apache camel or things about the new book? -Arpit.

RE: toD doesn't support RAW function for passwords (Bug?)

2016-12-09 Thread Goyal, Arpit
: Friday, December 9, 2016 2:21 AM To: users@camel.apache.org Subject: Re: toD doesn't support RAW function for passwords (Bug?) recipient list or dont use + in your passwords On Fri, Dec 9, 2016 at 11:16 AM, Goyal, Arpit <arpit.go...@sap.com> wrote: > Hi Claus, > > What alterna

RE: toD doesn't support RAW function for passwords (Bug?)

2016-12-09 Thread Goyal, Arpit
You are welcome to log a JIRA http://camel.apache.org/support.html On Fri, Dec 9, 2016 at 3:50 AM, Goyal, Arpit <arpit.go...@sap.com> wrote: > Hello Camel users, > > On my 5-10mins analysis - looks like a problem/bug - please can you clarify? > > We have SFTP passwords which have s

toD doesn't support RAW function for passwords (Bug?)

2016-12-08 Thread Goyal, Arpit
Hello Camel users, On my 5-10mins analysis - looks like a problem/bug - please can you clarify? We have SFTP passwords which have special characters and hence we tried to use the RAW function. On testing we saw that the RAW doesn't work and it still fails. On debugging we realize that we are

RE: Zip all files available in folder - synchronously

2016-11-01 Thread Goyal, Arpit
but do something different to trigger the route to start and aggreage those files, and then get an event when its done, which you can then use to know when the zip is ready. On Mon, Oct 31, 2016 at 11:04 PM, Goyal, Arpit <arpit.go...@sap.com> wrote: > Hi Colleagues, > > I want t

RE: Zip all files available in folder - synchronously

2016-11-01 Thread Goyal, Arpit
ition". Regards JB On 10/31/2016 11:04 PM, Goyal, Arpit wrote: > Hi Colleagues, > > I want to read all file and aggregate into one single zip, but the batch > consumer always run in different thread. What needs to be done additionally > to get the response synchronou

Zip all files available in folder - synchronously

2016-10-31 Thread Goyal, Arpit
Hi Colleagues, I want to read all file and aggregate into one single zip, but the batch consumer always run in different thread. What needs to be done additionally to get the response synchronously? Regards, Arpit. DefaultCamelContext c = new DefaultCamelContext(); try {

Limit on the number of routes in camel context?

2016-10-26 Thread Goyal, Arpit
Is there a number limit of how many routes can be added as part of camel context? As camel context takes in our server around 200ms to start, we want to keep it running and add routes to it. After processing just remove the routes, but as in parallel we might have I assume 10k plus request, I

RE: [camel-ftp] Can't catch Invalid SFTP port exception

2016-10-18 Thread Goyal, Arpit
: [camel-ftp] Can't catch Invalid SFTP port exception Try with Camel 2.18.0 release. We may have fixed something about this. There is a vague memory of mine looking into and fixing something with consumer template and bridge. On Sun, Oct 16, 2016 at 9:54 PM, Goyal, Arpit <arpit.go...@sap.com>

Deprecating TestNG?

2016-10-18 Thread Goyal, Arpit
Hi Claus, Heard your JDKIO Video 2016 (online) mentioning that TestNG support would be deprecated. Is there a timeline when you would deprecate and is there a possibility of removal (I presume 3.x?) Just wanted to know because we are currently using TestNG and want to have brief idea as to

RE: [camel-ftp] Can't catch Invalid SFTP port exception

2016-10-18 Thread Goyal, Arpit
; > On Oct 18, 2016, at 7:33 AM, Goyal, Arpit <arpit.go...@sap.com> wrote: > > Anyone having idea about what's wrong here? > > Sent from my iPhone > >> On Oct 16, 2016, at 12:55 PM, Goyal, Arpit <arpit.go...@sap.com> wrote: >> >> I am trying to

Re: [camel-ftp] Can't catch Invalid SFTP port exception

2016-10-18 Thread Goyal, Arpit
Anyone having idea about what's wrong here? Sent from my iPhone > On Oct 16, 2016, at 12:55 PM, Goyal, Arpit <arpit.go...@sap.com> wrote: > > I am trying to handle all the exception use cases of SFTP for logging > purposes. In case user has given invalid Port address fo

[camel-ftp] Can't catch Invalid SFTP port exception

2016-10-16 Thread Goyal, Arpit
I am trying to handle all the exception use cases of SFTP for logging purposes. In case user has given invalid Port address for sftp server even when using pollStrategy attribute -> 1) We are not able to get the exception back in the code. 2) Exchange comes back null. 3) Associated below code

RE: Looping in routes using Direct Component - Performance impact?

2016-10-14 Thread Goyal, Arpit
JO and let Camel use reflection to select the correct method for processing or use annotations. As a general rule of thumb I use, if you don't know exactly why you need to use a Processor you don't need to use it. On Thu, Oct 13, 2016 at 6:23 PM, Goyal, Arpit <arpit.go...@sap.com> wrote: >

RE: Looping in routes using Direct Component - Performance impact?

2016-10-13 Thread Goyal, Arpit
first run your route setup with a few pages, 10s of pages, hundreds of pages and then thousands of pages and then do performance tests to see where what is eating memory and optimise from there. On Fri, Oct 14, 2016 at 12:31 AM, Goyal, Arpit [via Camel] < ml-node+s465427n5788744...@n5.nabble.

Looping in routes using Direct Component - Performance impact?

2016-10-13 Thread Goyal, Arpit
Hi, We currently are on 2.16.3 version and can't use the loop function (part of 2.17). So we have the following routes based on which we create sort of loop with switch case. Now we are worried about the performance (when we see stacktrace of camel processing) Route 1:

RE: How to consume remote rest url and how to write given json response in a text file.

2016-10-12 Thread Goyal, Arpit
See this FAQ about dynamic to http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html Clause pointed out recently. We used 'toD' from 2.16.3 version and tested camel-http component which works. So the dynamic part like product id or date could be headers, properties etc set by processor

Possible to identify previous step & configuration?

2016-10-12 Thread Goyal, Arpit
Hi Colleagues, We have the following route. Is it possible in 'MyPostProcessor' to get the information of the previous step - toD in this case, but it could be different in different case. from("direct:begin") .process(new MyInboundProcessor()) .process(new MyTransformer()) .toD("")

RE: Sftp known_host as byte array

2016-09-26 Thread Goyal, Arpit
Hi Colleagues, Anyone has idea here? Regards, Arpit. -Original Message- From: Goyal, Arpit [mailto:arpit.go...@sap.com] Sent: Sunday, September 25, 2016 7:12 AM To: users@camel.apache.org Subject: Sftp known_host as byte array Hi colleagues Is it possible to set the known host

Re: Designing many service routes

2016-09-25 Thread Goyal, Arpit
We generally have built single route and use the thread pool mechanism to handle load. I think default is 1000 max pool. Now if the transformation requirement is not too much variable, it works wonderfully. Or start and stop is associated with spring application context. And yes if you want

Sftp known_host as byte array

2016-09-25 Thread Goyal, Arpit
Hi colleagues Is it possible to set the known host of a sftp server call using byte array? Saw the configuration and found it to have only file connection. We can't use file system in our use case. Regards Arpit. Sent from my iPhone

How to test Camel-http outbound calls

2016-09-24 Thread Goyal, Arpit
We have to validate whether the authentication and encryption aspect of HTTP outbound calls are working properly. On searching most of the testing pointers are to mock the component and verify the values being sent to HTTP endpoint. But based on the link [1] there is a comment at the end which

RE: Unable to connect from camel-ftp to apache mina-sshd

2016-09-08 Thread Goyal, Arpit
share. > On Sep 3, 2016, at 8:26 PM, Goyal, Arpit <arpit.go...@sap.com> wrote: > > Got this working :) > > Not just camel-route mocking is awesome, with Apache Mina-SSHD, in-junit > verification of SFTP endpoint configuration too :) > > Beer-cheer, > Arpit.

RE: Unable to connect from camel-ftp to apache mina-sshd

2016-09-03 Thread Goyal, Arpit
Got this working :) Not just camel-route mocking is awesome, with Apache Mina-SSHD, in-junit verification of SFTP endpoint configuration too :) Beer-cheer, Arpit. -Original Message- From: Goyal, Arpit [mailto:arpit.go...@sap.com] Sent: Friday, September 2, 2016 10:52 PM To: users

Unable to connect from camel-ftp to apache mina-sshd

2016-09-02 Thread Goyal, Arpit
Hi Colleagues, I am trying a very simple scenario where I am hosting apache mina-sshd as SFTP Server in my UNIT Test. Any one has idea why connection to SFTP always fails? Camel ftp - 2.16.3 Apache mina sshd - 1.2.0 Regards, Arpit. My Camel Route in test case

RE: First time create SFTP File and then Append to same in loop.

2016-09-01 Thread Goyal, Arpit
of the route which deletes the file? You don't need to then change the uri configuration or any looping. On Wed, Aug 31, 2016 at 7:23 PM, Goyal, Arpit [via Camel] < ml-node+s465427n5787068...@n5.nabble.com> wrote: > Hi Clause, > > The problem is -- First time execution creates the file and in

RE: First time create SFTP File and then Append to same in loop.

2016-08-31 Thread Goyal, Arpit
a is always appended if the file exists? On Wed, Aug 31, 2016 at 2:46 AM, Goyal, Arpit <arpit.go...@sap.com> wrote: > Hi Colleagues, > > We have the following route: > > from("xxx:inbound").process(new > MyProcessor()).choice(when(header("record_count").isGreate

First time create SFTP File and then Append to same in loop.

2016-08-30 Thread Goyal, Arpit
Hi Colleagues, We have the following route: from("xxx:inbound").process(new MyProcessor()).choice(when(header("record_count").isGreaterThan(0)).to("sftp://xyx[?options];).to("xxx:inbound").otherwise(new MyEndProcessor()) It is a simple loop condition using choice where one branch process data

RE: HTTP POST with ProducerTemplate

2016-07-22 Thread Goyal, Arpit
out object and exchange.getOut().getHeader("CamelHttpResponseCode"); Hope this solves your problem. Regards, Arpit. -Original Message- From: Goyal, Arpit [mailto:arpit.go...@sap.com] Sent: Friday, July 22, 2016 11:16 AM To: users@camel.apache.org Subject: RE: HTTP POST with

RE: HTTP POST with ProducerTemplate

2016-07-22 Thread Goyal, Arpit
Hi Michael, I was going through our implementation and looks like in the response Exchange --> Out object --> there is Camel Header which has the status. Wasn't able to attach screenshot of my debug variables, but here it goes: DefaultExchange --> DefaultMessage (out object) -->

[Q] Adapters outbound communication / Java DSL

2016-04-20 Thread Goyal, Arpit
We are using Java DSL to define our routes which are nothing but pure 'outbound' communication i.e. from("direct://").to("sftp://.;) --> there is no processing and 'to' is currently SFTP, but eventually be SOAP, OData, REST and other protocols Questions: 1) How to capture

RE: About Stream Caching

2016-03-07 Thread Goyal, Arpit
expressions against it). I don't think it applies to either scenario. On 5 March 2016 at 13:41, Goyal, Arpit <arpit.go...@sap.com> wrote: > Was reading about the http://camel.apache.org/stream-caching.html > functionality of Camel and would like to know would this also helps in > foll

About Stream Caching

2016-03-05 Thread Goyal, Arpit
Was reading about the http://camel.apache.org/stream-caching.html functionality of Camel and would like to know would this also helps in following use-cases: - There are like 1 Million (less than 5kb) messages following in short duration (like 1-10 minutes)? - Reliable

Need leading/trailing spaces support in camel:simple

2014-12-09 Thread Goyal, Arpit
Hi Colleagues, We have the following XML DSL (part of the whole xml), where we set the body using camel:simple tag. Somehow in the processing, we see that the spaces are trimmed at the end. camel:setBody camel:simpleNameIDPlace#13; A 1 X#13; B 2 D#13; B 3 Bangalore#13; E 4 A

Async Http Client link broken

2014-04-10 Thread Goyal, Arpit
Hi Colleagues, https://camel.apache.org/ahc.html -Async Http Client link is broken. Points to https://github.com/sonatype/async-http-client but should be changed to https://github.com/AsyncHttpClient/async-http-client Regards, Arpit.

Unknown Host Exception when using Twitter Endpoint

2013-12-12 Thread Goyal, Arpit
Hi, Is there a way to set Proxy Host Proxy Port in Twitter Endpoint. I am getting Unknown Host Exception when trying to access in landscape which has proxy server configured. Is this known issue? Regards, Arpit Error Log:

RE: Unknown Host Exception when using Twitter Endpoint

2013-12-12 Thread Goyal, Arpit
, December 12, 2013 4:57 PM To: users@camel.apache.org Subject: Re: Unknown Host Exception when using Twitter Endpoint Maybe those properties are available somehow? http://twitter4j.org/en/configuration.html Am 12.12.2013 um 12:14 schrieb Goyal, Arpit arpit.go...@sap.com: Hi, Is there a way

RE: Unknown Host Exception when using Twitter Endpoint

2013-12-12 Thread Goyal, Arpit
Exception when using Twitter Endpoint Hi You are welcome to log a JIRA ticket for an enhancement for making it easier to configure the http options in the endpoint uri, such as in your example. http://camel.apache.org/support On Thu, Dec 12, 2013 at 1:02 PM, Goyal, Arpit arpit.go...@sap.com wrote

Why Pass Java object in Twitter ( other) component

2013-12-10 Thread Goyal, Arpit
Hi Colleagues, I would like to understand the logic behind camel component allowing to migrate Java Objects. From Twitter component, after polling we get twitter4j.Status object. For any processing in the subsequent step we either use the TypeConvertor provided - which changes into String (and

RE: Why Pass Java object in Twitter ( other) component

2013-12-10 Thread Goyal, Arpit
Hi Henryk, Yeah, as Twitter Rest API returns JSON, may be that is much better to return JSON. Otherwise for integration the first step to get completed information from twitter4j.Status object is to write custom processor having dependency to twitter4j.Status (twitter4j Lib) and convert into

Twitter component on Equinox OSGi (Blueprint)

2013-12-03 Thread Goyal, Arpit
Hello Colleagues, I have setup camel 2.11.2 on equinox OSGi runtime (along with camel-blueprint bundle) and now I am trying to get the Camel-Twitter component running. As per the component project, Camel Twitter depends upon two additional bundles which aren't available on my runtime

RE: Twitter component on Equinox OSGi (Blueprint)

2013-12-03 Thread Goyal, Arpit
Okay problem solved myself... Picked the existing OSGi bundle for twitter4j dependency groupIdorg.apache.servicemix.bundles/groupId artifactIdorg.apache.servicemix.bundles.twitter4j/artifactId version3.0.5_1/version /dependency -Original Message- From: Goyal, Arpit

RE: Try-Catch in choice-when

2013-11-14 Thread Goyal, Arpit
instead of try .. catch as that is better. On Wed, Nov 13, 2013 at 2:15 PM, Goyal, Arpit arpit.go...@sap.com wrote: Any idea how can I achieve the following? -Original Message- From: Goyal, Arpit [mailto:arpit.go...@sap.com] Sent: Wednesday, November 13, 2013 9:42 AM To: users

RE: Try-Catch in choice-when

2013-11-13 Thread Goyal, Arpit
Any idea how can I achieve the following? -Original Message- From: Goyal, Arpit [mailto:arpit.go...@sap.com] Sent: Wednesday, November 13, 2013 9:42 AM To: users@camel.apache.org Subject: Try-Catch in choice-when Hi All, I am trying to use Try-Catch inside 'when' but not sure how

Try-Catch in choice-when

2013-11-12 Thread Goyal, Arpit
Hi All, I am trying to use Try-Catch inside 'when' but not sure how to get it right. I am using BLUEPRINT DSL. Following is my route: camel:route camel:from ref=Sender/ camel:setHeader headerName=MyHeader camel:constantGOOD/camel:constant /camel:setHeader camel:choice camel:when camel:doTry

RE: Why Camel-Crypto VerifyingProcessor doesn't construct Out Message?

2013-10-09 Thread Goyal, Arpit
? If a processor does not change a message, this simply means that the message that was sent into that processor is kept. Best regards Stephan -Original Message- From: Goyal, Arpit [mailto:arpit.go...@sap.com] Sent: Mittwoch, 9. Oktober 2013 06:02 To: users@camel.apache.org Subject: Why Camel

RE: MD5 digest calculation

2013-10-08 Thread Goyal, Arpit
calculation You can use the camel crypto component/dataformat for that purpose : http://camel.apache.org/crypto-digital-signatures.html On Mon, Oct 7, 2013 at 8:32 AM, Goyal, Arpit arpit.go...@sap.com wrote: Hi, Is there a component to do MD5 digest calculation in camel? Regards, Arpit

RE: MD5 digest calculation

2013-10-08 Thread Goyal, Arpit
And then you can just have a java bean doing the MD5 and use the bean in Camel. On Mon, Oct 7, 2013 at 8:32 AM, Goyal, Arpit arpit.go...@sap.com wrote: Hi, Is there a component to do MD5 digest calculation in camel? Regards, Arpit. -- Claus Ibsen - Red Hat, Inc. Email: cib

Recall: MD5 digest calculation

2013-10-08 Thread Goyal, Arpit
arpit.go...@sap.com would like to recall the message, MD5 digest calculation.

Why Camel-Crypto VerifyingProcessor doesn't construct Out Message?

2013-10-08 Thread Goyal, Arpit
Hello, VerifyingProcessor class doesn't construct Out Message like the SigningProcess does. So basically after Verifying Processor is completed, we should stop the route, which in practical scenario is not the case. Once the route has verified the message, then further processing to the

MD5 digest calculation

2013-10-07 Thread Goyal, Arpit
Hi, Is there a component to do MD5 digest calculation in camel? Regards, Arpit.

RE: Extend Camel Loop to support While Behavior

2013-09-30 Thread Goyal, Arpit
talked about this in the past. Not sure if there is a JIRA. You are welcome to look and if you cant find a JIRA then log a new JIRA for this. On Mon, Sep 30, 2013 at 6:01 AM, Goyal, Arpit arpit.go...@sap.com wrote: Hi Claus, Is there a plan to support Camel Loop to support While behavior

RE: Extend Camel Loop to support While Behavior

2013-09-30 Thread Goyal, Arpit
out is you need to support while and do-while (whether the predicate is checked before the first iteration or not). On Mon, Sep 30, 2013 at 10:43 AM, Goyal, Arpit arpit.go...@sap.com wrote: Hi Dale, What you mean by use distribution list to set header to NULL? Can you share the example

Extend Camel Loop to support While Behavior

2013-09-29 Thread Goyal, Arpit
Hi Claus, Is there a plan to support Camel Loop to support While behavior? Is there a jira issue for the same? Regards, Arpit.

Dynamic generation of URI in enricher

2013-09-26 Thread Goyal, Arpit
Hi All, I would like to use enricher along with dynamic URI (See sample XML below), where the URI is my custom endpoint. I know we can't do the same in camel:to and we would need to use it camel:recipientList (http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html) camelContext