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
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'?
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()
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
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
LOG.info("*HTTP SUCCESS
BEGIN*");
LOG.info(exchange.getIn().getBody(String.class));
LOG.info("*********HTTP SUCCESS
END*");
}
});
from(startHttp4).s
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
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
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.
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
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
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
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
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
, 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
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
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
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
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.
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
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
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 -
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
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.
-
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
Just wanted to know if anyone planning to present new features of apache camel
or things about the new book?
-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
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
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
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
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
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 {
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
: [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>
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
;
> 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
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
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
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:
>
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.
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:
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
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("")
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
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
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
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
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.
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
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
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
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
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
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
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) -->
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
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
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
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
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.
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:
, 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
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
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
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
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
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
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
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
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
? 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
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
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
arpit.go...@sap.com would like to recall the message, MD5 digest calculation.
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
Hi,
Is there a component to do MD5 digest calculation in camel?
Regards,
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
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
Hi Claus,
Is there a plan to support Camel Loop to support While behavior? Is there a
jira issue for the same?
Regards,
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
80 matches
Mail list logo