Well I was in the "glad" circumstance that I just needed to contact one
endpoint per route run, though this endpoint address might change.
So I was able to configure the endpoint address with the requestContext, see
also the other thread.
In your case I just could think of following workaround,
pu
Hi Willem,
> I just checked the code on the trunk and can't exactly the change that you
> made, can provide a diff file for it ?
> Could you create a JIRA and submit a simple testcase with your patch?
> It will be helpful for us to put this fix into the feature release of Camel.
Seems that the l
You can add a cxf header
org.apache.cxf.message.Message.org.apache.cxf.message.Message with the
address into the in message header to override the CXF endpoint address
without touching the RequestContext.
On 10/13/11 8:47 AM, sanjai wrote:
Thanks Achim. I'm glad I'm not the only once seein
Camel allows you to create a jbi service, which you can then use to route
messages to the actual camel endpoint.
So assuming that you want to send a message from a jbi consumer to camel
endpoint A, you will need to create a camel route from a "pivot" jbi service
(camel will create it for you) to en
Why would you make your life difficult and write a pojo to get files via
ftp?
I would suggest that you use a camel-ftp consumer and specigy the poll delay
to be one minute:
ftp://scott@localhost/public/reports?password=tiger&binary=true&consumer.delay=6"/>
I wouldn't use camel
Is it fair to say that *any* route can be written in Spring DSL or
Java DSL, which will ultimately have the same effect?
Or is this not the case?
Thanks, Robert
Hi Bernd,
I just have a quick of your patch, it sounds good.
I will work on the patch later today or tomorrow.
On Thu Oct 13 16:55:33 2011, Bernd Fischer wrote:
Hi Willem,
I just checked the code on the trunk and can't exactly the change that you
made, can provide a diff file for it ?
Coul
I have this simple route:
onException(Exception.class)
.to("log:com.mycompany.test?level=INFO");
from("sftp://myuser@localhost:/files/?password=mypassword&knownHostsFile=/myuser/.ssh/known_hosts&noop=true";)
.to("log:com.mycompany.test?level=INFO");
If I stop the sftp server, from("sftp:..."
Hi,
I tried to upload the files using apache commons httpclient and FileUpload api
as multipart POSTs and it was successful. But the same thing when I tried using
camel routes I am getting exception at both sides server and client.
I am getting the following exceptions:
1. At client side :
The ftp consumer produces a WARN message by default when the connection
fails - instead of throwing an exception.
You can use the throwExceptionOnConnectionFailed property to change this
behavior, and then handle the thrown exception from the
PollingConsumerPollStrategy[1] rollback() method.
Note
Well, I use a combination of DelegateProcessors and dynamically-built
Pipelines to modify my routes at runtime; this kind of requires Java
DSL. But I suppose the initial construction of the route using the
DelegateProcessor could be done in Spring.
Don
On Thu, Oct 13, 2011 at 8:43 AM, Robert J.
Brian, Mirko:
Thanks much for your help. I got it to work at last... whew! :-) yaay!
-Anita
--
View this message in context:
http://camel.465427.n5.nabble.com/Newbie-question-tp4896854p4899690.html
Sent from the Camel - Users mailing list archive at Nabble.com.
oops sry 1 caveat. There's a feature in camel of autodetecting your routes
and also of auto injecting your camelcontext.
This feature requires spring's context scanning which ATM is not quite
available in java and can only be done using spring xml.
I think it's something they fixed (are fixing) in
Hey Robert.
I've been using the pure java dsl for a while now and have not yet found
a situation that did not work (of course I don't know the details of what
you are trying to do so take my experience with a grain of salt).
-Tim
On Thu, Oct 13, 2011 at 2:43 PM, Robert J. Liguori wrote:
> Is
I am using the Camel Version 2.8.1 and looks like having delete and
onException together does not work.
I have a invalid XML (With lots of closing tags missing). The valid XML's
are processed and sent to the queue, but the invalid XML is not processed,
but all the files get deleted.
I am new to Ca
Hello everyone
I am pretty new to Camel still discovering the power of it. I didn't find
the answer to this question on the web for the moment: is it possible to
get the list of the services deployed in a camel instance?
I am developping a component for my application and would like to know
eit
This is related to a forum thread called "LRUCache memory leak when using
camel properties file" and fix [CAMEL-4261] - Properties component - Cached
locations may add duplicates.
I finally had some time to download Camel 2.8.1 and do some testing to see
if the fix corrected my problem. I am st
17 matches
Mail list logo