Hi
We ought to have duplication detection in place. Also on the route ids
AFAIR. What Camel version do you use?
On Thu, Jul 25, 2013 at 2:52 AM, Joe San wrote:
> Not in this route definition, but I have another route definition where I
> used the same routeId as one of the routeId in this one.
>
Hi
See at the timer or quartz components which can schedule time events
http://camel.apache.org/timer
http://camel.apache.org/quartz.html
On Thu, Jul 25, 2013 at 8:05 AM, cannykanna wrote:
> HI
> I am working on camel integration framework with my application which
> exposes web services.
> Now
Hi
Take a look at the localWorkDirectory or streamDownload options as by
default the file is loaded into memory. So you may run out of memory.
And for big files you need to use these options instead.
Read more on the ftp doc page at
http://camel.apache.org/ftp2
On Thu, Jul 25, 2013 at 6:19 AM, l
HI
I am working on camel integration framework with my application which
exposes web services.
Now I want to get configuration items from my application for every 10 secs.
How can this be achieved using camel?
Thanks
Kannaiah
--
View this message in context:
http://camel.465427.n5.nabble.com/
I really need an answer to this...it's gating my work.
Can anyone help?
Thanks,
Robert
--
View this message in context:
http://camel.465427.n5.nabble.com/JMSExceptions-045101-createTopic-jms-SpecialTopic-tp5735934p5736236.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Willem,
Sorry about the delayed response
Groovy Version: 2.1.3 JVM: 1.7.0_11 Vendor: Oracle Corporation OS: Linux
Also, i get following warning.
WARNING: Module [camel-groovy] - Unable to load extension class [class
org.apache.camel.groovy.extend.CamelGroovyMethods] due to
[org/apache
Is there any restriction on the file size?
It is not able to poll a file more than 200 M.B in size.
Thanks.
--
View this message in context:
http://camel.465427.n5.nabble.com/Message-not-getting-delivered-from-FTP-to-Activemq-tp5736181p5736247.html
Sent from the Camel - Users mailing list arch
Hi,
Do you need to listen to the same socket that you use to send the request?
Or do you just start a new port to listen to call back message?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogsp
Hello All,
I am using the mina component as a client to connect to server. The
interaction between the client and server is sometimes request reply,
but it can also be request and listen.
I understand how to implement the request and reply scenario.
How do I listen to the mina endpoint
Hi,
It looks like an issue of Talend ESB, you should ask the question in Talend
forum.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
How did you feed the message to activemq?
Have you been always sending the Event1 to the queue?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(Engl
Not in this route definition, but I have another route definition where I
used the same routeId as one of the routeId in this one.
Is there an exception that hints me that I used the same routeId?
Currently, it says no consumer available which seems a bit strange when the
actual problem was with a
Hello,
I am using an InOut queue and configured the following route on that queue:
from("activemq:queue:numbers").unmarshal(mapFormat)
.choice()
.when(simple("${in.body['EventType']} ==
'Event1'"))
Hello folks!
We have two Camel CXF Consumer Routes built. Each route is in a different
bundle
(OSGi). Theses bundles are running in Apache Karaf 2.3.1.
I have read the article on Camel Website
http://camel.apache.org/cxf-example-osgi-blueprint.html
in order to build and reach the web services c
The test ensure it works:
@Test
public void testInOnlyJMSExpiration() throws Exception {
MockEndpoint mock = getMockEndpoint("mock:result");
mock.expectedMessageCount(1);
long ttl = System.currentTimeMillis() + 5000;
template.sendBodyAndHeader("activemq:queue:bar?preserveMessageQos=t
In the example you posted, you don't use the same route id's...
And it's best practice to use routeId directly after the from definition.
Best,
Christian
-
Software Integration Specialist
Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache
Hi Eva,
You can use your own webServiceTemplate with a ClientInterceptor
Have a look here
http://stackoverflow.com/questions/3169237/setting-a-custom-http-header-dynamically-with-spring-ws-client
HTH
Bilgin
On 24 July 2013 17:18, evillarroya wrote:
> Hi,
>
> I am trying to make a webservice ca
Hi,
I am trying to make a webservice call with Camel-springws, and the call is
successful but the service returns an error because I need to setup some
HTTP headers.
I have found several examples on how to setup soap headers, but no example
on how to setup HTTP headers.
This is the example I am
The problem was I used the same routeId's within the same Camel Context. The
message that I see in the console does not directly say that. Would it be
possible to improve the error message?
--
View this message in context:
http://camel.465427.n5.nabble.com/No-Consumer-available-Exception-tp5736
OK thanks. Not sure if I "really" need it :-) Just working through the
docs on testing ...
On 24 July 2013 16:33, Babak Vahdat wrote:
> Hi
>
> I'm the guilty one who has added this base class (because of
> https://issues.apache.org/jira/browse/CAMEL-5998) so why I know where it
> resides :-)
Hi Chris,
Thanks so much for the information.
I have tried different property but it did not work.
Please find my code below.
*public static final String CONSUMER_TEST_QNAME =
"activemq:queue:ConsumerTestHandler?jmsMessageType=Text&preserveMessageQos=true";
*
*
*
*public static final Strin
Hi
I'm the guilty one who has added this base class (because of
https://issues.apache.org/jira/browse/CAMEL-5998) so why I know where it
resides :-)
https://git-wip-us.apache.org/repos/asf?p=camel.git;a=blob;f=components/camel-spring/src/test/java/org/apache/camel/spring/SpringRunWithTestSupport.
Hi
I am trying to configure some tests using SpringRunWithTestSupport on camel
2.11.1.
Try as I might I can't seem to find the package which includes this class.
I thought it was in camel-spring but it seems not. Can anybody suggest what
I need to include?
Regards
Bob
Thank you for the hint.
The error handler looks like:
In case the exception isn't of type the redelivery would be repeated 3
times each 30sec. But my log file tells me, that the message is delivered 11
times, with a delay of 4minutes. After that, an email is send to me. So I'm
pretty sure that
Hi
Yes the camel-ftp components supports ftp, sftp and ftps.
sftp we use the JCraft JSCH library
http://www.jcraft.com/jsch/
On Wed, Jul 24, 2013 at 12:52 PM, deepak_a wrote:
> All,
>
> I am currently using Apace Camel for connecting to various end points -
> webservice, JMS, file etc.
> Now I
Isn't it always the way. I've found the answer:
org.apache.openjpa.persistence.PersistenceException
true
Who knows what I was trying t
I can see you also have an errorHandler for that route. Is it possible
that the exception thrown is not OrderNotFoundException and it is
caught not by the onException, but by the error handler which doesn't
have exponential backoff?
B.
On 24 July 2013 13:39, zzkozak wrote:
> Ok, I'll try and giv
Hi,
I've got a camel route that consumes from an activemq endpoint and persists
the message to a database via jpa.
If, for example, the connection to the database is lost I want to retry a
message a few times and if it still fails put it on a Dead Letter Queue.
This bit is fine:
Ok, I'll try and give feedback.
Did I configured it properly?
--
View this message in context:
http://camel.465427.n5.nabble.com/Exponential-BackOff-ignored-tp5736138p5736210.html
Sent from the Camel - Users mailing list archive at Nabble.com.
yes @Partha is right. i used the HttpEndpoints options
"httpClient.authenticationPreemptive=true" in my url and the download time
per xml reduced to 250-300ms.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-HTTP-component-vs-Apache-HTTP-client-tp5735943p5736209.html
S
Hi,
I think it may relates the CXF endpoint uri safe encoding method.
You can set the header of Exchange.HTTP_QUERY to override the setting of URI to
workaround it.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: ht
All,
I am currently using Apace Camel for connecting to various end points -
webservice, JMS, file etc.
Now I have a requirement to PUT/GET files from an external system using
SFTP.
Is there support in Camel to run GET & PUT commands?
e.g.
put {local_file_name} //
get // c:/myFile
In addition
>From the code in DefaultHTTPClient, it seems that you are using preemptive
authentication. Could this be the problem with camel? If preemptive
authentication is not used, each request would go twice. Once without the
auth headers and then again with the auth headers. This could contribute to
the t
Hi,
I've used to get a URL using HTTP component. My route looks like:
from("direct:epGet")
.setHeader(Exchange.HTTP_METHOD, constant("GET"))
.setProperty("url", simple("${body}"))
.setHeader(Exchange.HTTP_CHARACTER_ENCODING,
constant("UTF-8"))
Hi
Yeah see this FAQ
http://camel.apache.org/why-does-my-file-consumer-not-pick-up-the-file-and-how-do-i-let-the-file-consumer-use-the-camel-error-handler.html
On Wed, Jul 24, 2013 at 12:39 PM, Bilgin Ibryam wrote:
> Hi Joe,
>
> OnException will be called for exceptions happening during routing.
Hi Joe,
OnException will be called for exceptions happening during routing.
To catch exception happening before the routing starts for that file,
you can use ExceptionHandler. See the example here
http://camel.apache.org/file2.html
Or give a try for consumer.bridgeErrorHandler option
If that doe
Thanks a lot once again.
I have used "preMove=inprogress&move=.done" to get rid of redundant polling.
--
View this message in context:
http://camel.465427.n5.nabble.com/Message-not-getting-delivered-from-FTP-to-Activemq-tp5736181p5736189.html
Sent from the Camel - Users mailing list archive at
Thanks Sergey and Claus.
Using both of your suggestions (i.e. running the routes in a new thread and
using the onCompletion, I was able to get it to work, sort of :(
What I notice is that the onCompletion does not fire after all the mails are
received, but after 2-3 mails. (it is not consistent)
You can set delete=true to delete the file after you have processed
the file in Camel. Though that would delete the file on the FTP
Server.
There is also options to move the file instead of deleting it etc. Or
use a idempotent consumer in Camel so it will skip the same file etc.
And some other op
Thank you so much Claus.
It worked for me.
Now the issue is that the same file is being polled continuously until the
sleep value ends.
Any configurations available to avoid this?
--
View this message in context:
http://camel.465427.n5.nabble.com/Message-not-getting-delivered-from-FTP-to-Acti
Which version of Camel are you using?
Try to specify the route startup order as suggested.
Bilgin
On 23 July 2013 18:33, Jothi wrote:
> What even confuses me is that I have another route that looks more or less
> the same, the only difference being a couple of more choice blocks. That
> route
Hi
You only run the application for 1 second that is not a long time. Use
a higher sleep value to have the app run for a bit to give it a chance
to connect to the ftp server and start downloading the file(s).
On Wed, Jul 24, 2013 at 10:06 AM, life1style1
wrote:
> Hi All,
>
> I am absolutely new
Hi All,
I am absolutely new to Apache Camel framework.
I am trying to route a message from FTP to Activemq.
There are no exceptions but the message is not getting delivered in
ActiveMQ's queue.
I am using the following code :
CamelContext context = new DefaultCamel
Hi
Use
eg use ref to refer to the endpoint by its id.
On Wed, Jul 24, 2013 at 9:24 AM, RUPA JAIN wrote:
> Hi,
> when i am writing following code for sending mail in camel context
>
>
>
>
>
>
>
> uri="smtps://smtp.gm
Hi,
when i am writing following code for sending mail in camel context
// the following code is in camelmailclient class
exchange = producer
.request(
45 matches
Mail list logo