Dear Camel Developers.
I love Camel.
My Customer’s FTP environment has a little bit different usage.
They require “account” while ftp logging in.
But Camel has no input of account of ftp login.
In RFC959 :
ACCOUNT (ACCT)
The argument field is a Telnet string
Hi Team,
Can you help me with minimum code to automate the following usecase:-
User will hit camel application URL
Camel will process the xml request and based one some specific tag value it
will hit other application URL 1 or URL2
URL1 and URL2 will also respond with xml, Camel
Sorry about that.
Yes its a (transactional) JmsComponent for websphere message queue
--
View this message in context:
http://camel.465427.n5.nabble.com/Possible-to-check-that-endpoints-exist-tp5764884p5764887.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
You would have to write some code that checks if those queues exists.
You can maybe uses the browse endpoint to attempt to browse the queue.
Or use some JMS API to create a consumer of the destination and see if
that fails. Assuming that creating a consumer on a non existing
destination will
Use Filter condition and XPATH for to uri
filter
simpleconditions for uri or use xpath instead of
simple/simple
to uri=uri 1 or 2 depending on condition /
log message=Message Sent to desired uri /
/filter
Thanks and Regards,
Vanshul Chawla
Hi
Yeah we should make this easier so you can do something similar to
what searchTerm can do. I have logged a ticket
https://issues.apache.org/jira/browse/CAMEL-8560
On Fri, Mar 27, 2015 at 12:06 AM, camelvev ca...@vevang.no wrote:
Hello!
This is probably stupidly simple, but: I'd like to use
Can you help me with minimum code to automate the following usecase:-
User will hit camel application URL
Camel will process the xml request and based one some specific tag value it
will hit other application URL 1 or URL2
URL1 and URL2 will also respond with xml, Camel should be able to get
Thanks Claus.
That worked!
Ângelo Costa
On Thu, Mar 26, 2015 at 1:27 PM, Claus Ibsen-2 [via Camel]
ml-node+s465427n5764827...@n5.nabble.com wrote:
If you use tokenizer to split then it has a group option
http://camel.apache.org/splitter.html
On Thu, Mar 26, 2015 at 12:45 PM,
Hi
Is wmq a JMS component for WebSphere MQ or what component is it?
On Fri, Mar 27, 2015 at 9:32 AM, blommish johanblomgren1...@gmail.com wrote:
Is it possible to verify that all outgoing endpoints exists?
For example
from(wmq:queue:A).to(wmq:queue:B)
It will validate A on the fly, since
Is it possible to verify that all outgoing endpoints exists?
For example
from(wmq:queue:A).to(wmq:queue:B)
It will validate A on the fly, since it tries to get data from the A queue.
But B is validated once it tries to send the message to that endpoint. Is
it possible validate that queue
Hi
Thanks for sharing this.
Would be great to add a sample code and something to the docs such as at
http://camel.apache.org/splitter
http://camel.apache.org/jsonpath
On Fri, Mar 27, 2015 at 5:28 AM, Reji Mathews contactr...@gmail.com wrote:
Hey that's cool. Let me try my luck and update !
Hi
The camel ftp component uses Apache Commons Net as FTP client. I
suggest to check their website what it supports. And if it supports
Account, then yeah for sure we can add support for that too in
camel-ftp.
http://commons.apache.org/proper/commons-net/
On Fri, Mar 27, 2015 at 7:55 AM, 차정호
Hi
I logged a ticket to not forget about this
https://issues.apache.org/jira/browse/CAMEL-8562
On Thu, Mar 26, 2015 at 10:26 PM, Claus Ibsen claus.ib...@gmail.com wrote:
Hi
But that said, we could likely take a look if we could detect if the
route endpoint is used by other routes, and avoid
Umm, yes, sorry - that was the wrong piece of code! Brain fart... Here's what
I used for the SortTerm:
public class SubjectSortTermsFactory {
public static SortTerm[] create() {
return new SortTerm[]{SortTerm.SUBJECT};
}
}
bean id=subjectSortTerm
Hi,
Thanks a lot Claus. In addition, if someone else is wondering about
this, I managed to solve the issue (with some help from a nice
colleague) by creating a factoryBean that returns a SortTerm[]:
public class IMAPsearchTermFactory {
public static SearchTerm create() {
Hi
Ah thanks. I assume its a SortTerm builder. As the code you show is
about search terms.
Btw for search terms, you can use the search.XXX prefix in the uri to
build that also a bit easier for some simpler cases.
See bottom of page
http://camel.apache.org/mail.html
On Fri, Mar 27, 2015 at
A good Content Based router example can be seen here[1]. From the example you
would understand usage of XPATH with CBR, However i am not aware of any
tailor made examples for your request.
Various examples on Servlet/Rest/HTTP are available in the examples folder
within the source.
[1]
Thanks for the replies.
After studying the code, I solved it independently like Willem Jiang
suggests:
public class MyCamelContext extends GuiceCamelContext {
@Inject
public MyCamelContext(Injector injector) {
super(injector);
}
@PostConstruct
public void start() {
Hi
No there is not so many on the guice wagon.
I dont think you need the guicy fruit anymore, we are on guice 3.0. I
recall the fruit was to make it workable in the earlier days of guice.
But we love contributions. So you and others are sure welcome to
improve camel-guice in any way. Whether
Hi
Oh an for Camel 2.16 we have improved the main class to offer a
listener so you can have callbacks during start | stop. That may help
a bit.
https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/main/MainListener.java
On Fri, Mar 27, 2015 at 4:02 PM, Claus
Thanks, Claus. I will go ahead and change my logic so that I keep the state
in the component.
--
View this message in context:
http://camel.465427.n5.nabble.com/Route-removal-triggers-endpoint-shutdown-tp5764796p5764917.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
Do you have a stacktarce of the NPE?
On Fri, Mar 27, 2015 at 5:35 PM, Wilkerson, Daniel
dwilker...@fullsail.com wrote:
Hi everyone. I'm working on a small prototype using Camel, Bindy, and
MyBatis. I'm currently doing this as a standalone Camel app. I'm not
currently using Spring or
Hi Claus. Thank you for responding. I appreciate it very much. I have
pasted the stack trace below.
Here's what I see in the Eclipse console:
Exchange[
Id ID-macc02m6b0yfd57-workdomain-com-56687-1427475721397-0-2
angePattern InOnly
Headers
Thnak you Jiang, i will have a look.
Thanks again for your interest.
Best regards.
Ercan
2015-03-27 5:33 GMT+02:00 Willem.Jiang [via Camel]
ml-node+s465427n5764872...@n5.nabble.com:
I think you can use CXF Interceptors[1][2] to trace the message[3], then
you don’t need to build a proxy to
Hi
Camel uses jcraft for sftp. You may want to check what it supports.
http://www.jcraft.com/jsch/
On Thu, Mar 26, 2015 at 8:02 PM, shreyas shreyas.puro...@hotmail.com wrote:
Does camel support SFTP with RequiredAuthentications2 as provided in this
link for auth:
Hi everyone. I'm working on a small prototype using Camel, Bindy, and MyBatis.
I'm currently doing this as a standalone Camel app. I'm not currently using
Spring or Blueprint, just Java DSL. I'm trying to keep this a simple as
possible for the time being. We are looking at this strategy to port
Take a look at
org.apache.camel.impl.LimitedPollingConsumerPollStrategy
On Wed, Mar 25, 2015 at 6:07 PM, yeandone willcours...@gmail.com wrote:
Hi Claus.
Thank you so much for your reply! I read of the doc before, but how do I
catch the exception and handle it after 5 retries? Currently in
I'm upgrading our integration platform regarding Camel and Karaf versions.
We are moving from Karaf 2.3.4 to Karaf 2.4.1 and from Camel 2.13.2 to
Camel 2.14.1. The reason why I didn't pick the latest version of Camel
(2.14.2) is that I looked at what the latest version of ServiceMix (5.4.0)
used.
To answer my own question. I just noticed that Karaf has a new feature
descriptor for spring where all the spring features resided. I added this
to the configuration of features-maven-plugin and got it to work.
Karaf provides version 3.2.11 of Spring and not 3.2.4 that Camel requires
but it seems
Hi All,
I am working on a application where I need to read data/records from a set
of files and updating them into database.
In case of error during file processing/db update (file is partially
processed), I should be able to re-process the file and exclude the records
which are already updated
Hi Claus,
thanks for the tips! I am new to Camel, I'll be glad to contribute once I
dig through what I need to do and settle a bit in the framework.
Jakub
On Fri, Mar 27, 2015 at 3:03 PM, Claus Ibsen claus.ib...@gmail.com wrote:
Hi
Oh an for Camel 2.16 we have improved the main class to
Just curious, why you need to stub the host and port. I am sure you don't
want to test what the rest call will return. If so, then it will be a
restlet test, not yours .
In order to test your route builder which is calling the restlet, you can
mock the restlet uri by using MockEndPoint. That
I am using Java DSL. I plan on using jetty component to expose a HTTP endpoint.
Based on the request URI, I need to start the aws-s3 producer to download a
file and return it as a response to the HTTP request. I can write a processor
that gets the Http Exchange to get URI but how can I start
Never mind was very silly of me to ask. I just used context.ConsumerTemplate
for S3 download and start/stop it through a processor. The response from S3 was
set as body in the netty4 response.
Thanks,
Shreyas
From: shreyas.puro...@hotmail.com
To:
Dear Mr. Ibsen,
I checked Apache Commons Net FTP client API.
FTPClient class supports account parameter in login method.
boolean login(String username, String password)
Login to the FTP server using the provided username and
password.
boolean login(String
35 matches
Mail list logo