It works. Thanks that's exactly what I needed.
BTW - Claus you have always been very supportive. Thanks.
--
View this message in context:
http://camel.465427.n5.nabble.com/Way-to-determine-if-Route-is-running-or-not-tp5730299p5730363.html
Sent from the Camel - Users mailing list archive at Nabb
thanks! I will explore that.
--
View this message in context:
http://camel.465427.n5.nabble.com/Way-to-determine-if-Route-is-running-or-not-tp5730299p5730335.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
Is there a way to query the CamelContext to find out if a route is running
or not, as in, if a route is currently processing an exchange or a consumer
endpoint of the route such as FTP or File is in the process of retrieving a
file.
I modify the routes with certain settings from the UI. Hence I
https://issues.apache.org/jira/browse/CAMEL-6067
--
View this message in context:
http://camel.465427.n5.nabble.com/Quartz-triggers-being-deleted-when-shutting-down-Camel-tp5727257p5727365.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Also,
I see the following in the QuartzComponent.class,
// fast forward start time to now, as we do not want any misfire
to kick in
trigger.setStartTime(new Date());
which would also suppress Quartz logic to handle misfires which is something
we actually need.
--
View thi
Alright. Will create a Jira for it.
However I had one more question related to the same issue. If Camel would
not delete the job and the trigger, how would it realize that the quartz
endpoint being created is not a new one but rather a one which was defined
earlier. In other words, if I had a rout
Hi,
I am using Quartz as my starting endponig. I have defined the the route as
follows,
from("quartz://myTimer?trigger.repeatInterval=12&trigger.repeatCount=-1&stateful=true")
.log("Test");
When Camel comes up I do see an entry being created in the database for the
trigger an
Well I had an xerces jar coming from openejb. If I removed that it works.
This was on 2.10.3.
What I dont understand is why would the the jre try and use a parser in an
external jar when it has the same one available as part of the java library.
Havent tried with 2.10.2 and that jar in the classpat
re:
https://repository.apache.org/content/repositories/snapshots/org/apache/camel/apache-camel/2.10.4-SNAPSHOT/apache-camel-2.10.4-20130130.045958-38.zip
Babak
vishal1981 wrote
downloading from central works! thanks a lot.
If you reply to this email, your message will be ad
Hi,
None of the mirrors seem to be working for 2.10.2. I keep getting 404.
This has been the case with several other release for me. I am sure my
connectivity is ok. I am able to download 2.10.3 just fine.
I am downloading via,
http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.10.2/apache-c
Ah ok so its only broken in 2.10.3. Great I will switch to 2.10.2.
Thanks again.
--
View this message in context:
http://camel.465427.n5.nabble.com/Question-about-change-to-FileUtil-java-tp5726527p5726576.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I do indeed use 2.10.3. May I know when is 2.10.4 anticipated?
--
View this message in context:
http://camel.465427.n5.nabble.com/Question-about-change-to-FileUtil-java-tp5726527p5726566.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks for the reply.
Is there a reason why one should not block on an EJB for that long? Idea for
the async processing is great but then again I will have to introduce some
kind of mechanism to wait till the processor is done to invoke the next
processor in the route. There are processors which ar
Thanks for all your replies so far.
Allow me to explain you my use case a little more in detail...
As part of my route I am using the EJB endpoint. All that the EJB does is
that it calls a stored procedure. The stored procedure takes a long time to
execute (in the order of two to three hours). My r
Hi,
I want to define a FTP consumer such that it consumes files with names such
as, Program_20121008.zip, Delta_20121008.zip etc. i.e. Some filename patter
followed by _ followed by toda's date.
Now if I use the fileName property of the File consumer I can define the
name as Program_${date:now:
Alright thanks.
But then global scope doesn't really means global to the camelcontext. Its
global to the routes currently being defined.
Thanks for your help
--
View this message in context:
http://camel.465427.n5.nabble.com/Global-exception-policy-across-Route-builder-configure-methods-tp57190
Hi,
If I understand correctly, the onException() defined in the configure method
of a Routebuilder is global across all routes subsequently defined in that
method using the Camel DSL.
Is there a way to make these onException() global across routebuilder such
that I can define in one place something
Hi,
I am using FTP2 and File2 endpoints.
I want to catch exceptions such as server not reachable or directory does
not exist etc.
If I use the "exceptionHandler" in the URI for the endpoint my custom
Exception handler never gets invoked.
If I use the "pollStrategy" in the URI it does get invoked f
Thanks for your replies.
I am indeed using consumer.exceptionHandler however when I configure an FTP
endpoint to FTP to a non-existing FTP server my exception handler is never
fired. Is it because I have to add an additional PollingConsumerPollStrategy
to handle such kind of exceptions?
I am not su
Hi Hadrian ,
I am facing the same issue. Can you tell me where you checked in you fix.
Thanks in advance,
Vishal
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-jsch-in-sink-mode-for-one-time-copy-from-a-remote-host-using-SCP-tp5680887p5718734.html
Sent from the Camel -
Guys please if you can comment? I am kinda stuck
--
View this message in context:
http://camel.465427.n5.nabble.com/Getting-consumer-endpoint-details-or-exchange-headers-in-custom-ExceptionHandler-tp5718633p5718694.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I am implementing the ExceptionHandler to catch exceptions that happen while
fetching a file remotely via FTP (e.g. IOExceptions etc.).
In my custom ExceptionHandler I need a way to figure out which endpoint/FTP
URI failed since I have more than one.
The ExceptionHandler method -handleException
Hi,
Excuse me for my lack of good understanding of the difference between
SAXSource and StreamSource. I am trying to replace some validation code by
the validator component provided by Camel. The existing code uses
StreamSource to parse the XML. From what I can guess StreamSource would
probably han
Hi,
I want to log any and all FTP failures when using an FTP consumer. As I
understand I have to,
1. Implement -PollingConsumerPollStrategy
2. set throwExceptionOnConnectFailed=true on the FTP URI. (Is there an
equivalent one for File endpoint?)
3. Also setting, consumer.bridgeErrorHandler=true to
ou always get only one file (and the file name is the same each
time) I think the poll enricher will do the same work for you.
from("direct:start")
.pollEnrich(ftpUri, 6)
.to("direct:result");
// Pontus
On Fri, Aug 10, 2012 at 7:37 PM, vishal1981
<[hidden email]>
think the poll enricher will do the same work for you.
from("direct:start")
.pollEnrich(ftpUri, 6)
.to("direct:result");
// Pontus
On Fri, Aug 10, 2012 at 7:37 PM, vishal1981
<[hidden email]> wrote:
> Thanks for the reply.
>
> I eneded up doing someth
ttp://camel.apache.org/content-enricher.html
[2] http://camel.apache.org/routepolicy.html
[3] http://camel.apache.org/polling-consumer.html
[4]
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/spi/PollingConsumerPollStrategy.html
Best regards
Pontus Ullgren
On Tue, Aug
Hi,
In the older documentation for FTP component I found this,
"Consuming a remote FTP server triggered by a route
The FTP consumer is built as a scheduled consumer to be used in the from
route. However if you want to start consuming from a FTP server triggered
within a route it's a bit cumbersome
:52 PM, vishal1981 wrote:
> Hi,
> Sorry to bug you again...but..
> Now I have my route configuration as File -> MyBean ->Ftp
> Now MyBean converts the input file to a different format. I want to avoid
> doing a exchange.getOut().setBody() since the new file is
> huge. But som
y, July 16, 2012, vishal1981 wrote:
> Thanks for the reply.
> So is it compulsory to use a JMS Endpoint to prevent Camel from reading the
> whole message in memory?
> What is to my bean I dont pass the message body as a parameter but just
> then
> filename? Will that prevent Camel
Hi,
Sorry to bug you again...but..
Now I have my route configuration as File -> MyBean ->Ftp
Now MyBean converts the input file to a different format. I want to avoid
doing a exchange.getOut().setBody() since the new file is
huge. But somehow I want to convey to the FTP producer that FTP over the n
, vishal1981
<[hidden email]> wrote:
> Thanks again.
> I am using something like the following,
>
> from(file...).to(ejb:cms/CamelToPluginAdaptor/local?method=process(${header.CamelFileAbsolutePath},${properties:outbox}/${header.PROVIDER_ID}.xml,${header.PROVIDER_ID})
>
> Where
:18 AM, vishal1981
<[hidden email]> wrote:
> Thanks. I read about the working directory and thats exactly what I was
> looking for. thank you.
> Yet to try it though.
> However, what if I want the same behaviour for File. i.e. File ->Bean (no
> FTP). I dont want the fi
was the ftp endpoint i meant
On Monday, July 16, 2012, vishal1981 wrote:
> Thanks for the reply.
> So is it compulsory to use a JMS Endpoint to prevent Camel from reading the
> whole message in memory?
> What is to my bean I dont pass the message body as a parameter but just
> the
Thanks for the reply.
So is it compulsory to use a JMS Endpoint to prevent Camel from reading the
whole message in memory?
What is to my bean I dont pass the message body as a parameter but just then
filename? Will that prevent Camel from loading the whole message in memory
before calling my bean m
Hi,
I am using Camel to transfer a file from my app server to an FTP server
before converting it to a different format. The incoming file can be
potentially huge (60 to 100 gbs) in size and I want to prevent Camel from
reading the whole file in memory. I would like to call a bean which takes
the in
Ibsen-2 [via Camel]
[mailto:ml-node+s465427n5714712...@n5.nabble.com]
Sent: Wednesday, June 20, 2012 1:08 AM
To: Vishal Changrani
Subject: Re: Pointers on setting up Camel on JBoss 5.1 using EJBs/Hibernate
On Mon, Jun 18, 2012 at 9:36 PM, vishal1981
<[hidden email]> wrote:
> Hi,
&g
Hi,
I want to setup Camel as part on of my application being deployed to JBoss
5.1. My application nests in a bigger ear (which is a company wide umbrella
application) and it contains several modules including 3 of mine - ejb jar,
servlets war and REST API war. There is also an interface jar in the
38 matches
Mail list logo