Hi,
I tried to use the provided code to stop an Route, but it continues to
execute even after it have been stopped.
Could someone look at this and something that is wrong?
br/William
Test class:
package com.ServerWatcher;
import com.ServerWatcher.impl.ServiceSuspender;
import org.apache.camel.
You need to enable shareUnitOfWork=true, and also set
stopOnException=true on the splitter
http://camel.apache.org/splitter
On Tue, Sep 18, 2012 at 7:08 PM, ben1729 wrote:
> I have the following route running in ServiceMix (v4.4.2) using Camel v2.8.5:
>
> from("jms:queue:msci.start")
>
On Wed, Sep 19, 2012 at 12:17 AM, Chandra Kalirasa
wrote:
> Hi Claus,
> I went through documents, could not get much info.
>
> This is my scenario:
> I am trying to schedule a job that trigger FTP server to move the files
> another directory.
>
> context.addRoutes(new RouteBuilder() {
>
I have the following route running in ServiceMix (v4.4.2) using Camel v2.8.5:
from("jms:queue:msci.start")
.routeId("start-route")
.transacted()
.process(new Processor() {
@Override
public void process(Exchange exchange) throw
The ZooKeep endpoint configuration should not be effected by the other
endpoints.
I just filled a JIRA[1] and will commit the fix as you suggested shortly.
[1]https://issues.apache.org/jira/browse/CAMEL-5627
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fuseso
Mostly a social issue, but I totally agree.
Also keep in mind when you compare options that Camel is a framework,
not a product and BPEL in this context actually means not the spec, but
a specific box-wrapped interpretation of it sold as a product.
$0.02 + tax
Hadrian
On 09/14/2012 09:55 AM,
Finally somebody who pointed out the real difference. Thanks Bruno.
Camel is stateless, WS-BPEL is stateful! If you need to deal with state,
which is usually the case, Camel will only partially help. You'll have
to deal with persistence and correlation yourself. For simple projects,
it's next
Would you be willing to share your configuration (except for
passwords) that works for you so that other folks "googling" might be
able to learn from what you've discovered?
On Tue, Sep 18, 2012 at 7:39 AM, Caa_man wrote:
> Thank you!
>
> Distributed transaction really works with value="false"/
I am using the Apache ZooKeeper component (version 2.10.1) and I have two
routes defined: one using a zookeeper consumer endpoint and one using a
zookeeper producer endpoint. Each route works fine on its own, but I get an
exception when I have both together. The URI parameters on my consumer end
Hi Claus,
I went through documents, could not get much info.
This is my scenario:
I am trying to schedule a job that trigger FTP server to move the files
another directory.
context.addRoutes(new RouteBuilder() {
public void configure() {
from("quartz://myFirstTimer
Hi,
I don't have any solution, but would like to add a note about File api
rename issue.
If Camel code make use of File API for renaming, then it would fail
regardless of JDK. I like to paste snippet from JDK-7 and JDK-6
document -
http://docs.oracle.com/javase/7/docs/api/java/io/File.html
Hello Alan!
Yes, this would be great! As you may know, we love contributions.
[1] and [2] will be helpful for you how to contribute to Apache Camel.
[1] http://camel.apache.org/contributing.html
[2] http://camel.apache.org/building.html
Looking forward for your first contribution,
Christian
On
> I am guessing that I am hitting some limitations of the Simple language?
> Both .replaceAll and .replace seems to work fine when put into a simple Java
> program.
Please next time provide us the minimal example demonstrating the issue.
For example here is the minimal example demonstrating that
Please find my comments inline.
Best,
Christian
On Tue, Sep 18, 2012 at 11:53 AM, OrackBahama wrote:
> Hi,
> meanwhile I suspect Windows (or the Java VM, not Camel) to be the culprit
> for not unlocking files immediately after renaming. There's an extended
> version of the Windows MoveFile-API f
Hi,
I still use prefer to use nntp. I am in the process of setting up one
for users@camel.apache.org @gmane.org.
Could someone help me with following questions?
1) Can we find archived mailing list tar file to import into gmane.org?
2) What is the mailing list software used for users@camel.ap
Hi,
> The main aim for us is to have routes being
> independently managed within the camel context.
Consider using the Load Balancer [1] pattern. In such case you got
single FTP endpoint which "fans-out" FTP messages to desired amount of
independent routes.
from("ftp://...";).
loadBalance().roun
Good to know you could figure it out by yourself.
Enjoi your further Camel ride,
Christian
Sent from a mobile device
Am 18.09.2012 13:45 schrieb "Caa_man" :
> Thank you!
>
> Distributed transaction really works with value="false"/> and com.ibm.mq.jms.MQXAConnectionFactory class using.
>
>
>
>
Thank you for the response Claus. Cool that this is possible. I have been
trying to work with the Simple language in order to not have to dive into
the other scripting languages. I have had mixed results, none of which have
actually worked yet.
If I just take your example verbatim, then I getting
Hi
See route policy
http://camel.apache.org/routepolicy
This can be used to schedule routes when they shall be active.
You can then use this for a route that moves files.
On Tue, Sep 18, 2012 at 5:33 PM, Chandra Kalirasa
wrote:
> Hi:
>
> I am using Quartz to schedule a job that runs every 20 s
Hi:
I am using Quartz to schedule a job that runs every 20 seconds to move the
files from inputdir to outputdir. I am getting errors. Please advise.
Thank you,
chandra
Route:
CamelContext context = new DefaultCamelContext();
context.addRoutes(new RouteBuilder() {
On Tue, Sep 18, 2012 at 2:08 PM, Hilde wrote:
> Hello Claus!
>
> Sorry for answering late.
>
> Yes, I have enabled the option /throwExceptionOnConnectFailed=true/
> Is that ok?
>
Yeah that would be needed to allow the bridge error handler to react.
You may also need to set maximumReconnectAttempt
Hello Claus!
Sorry for answering late.
Yes, I have enabled the option /throwExceptionOnConnectFailed=true/
Is that ok?
Cheers
Hilde
--
View this message in context:
http://camel.465427.n5.nabble.com/FTP-Consumer-Handle-UnknowHostException-tp5719362p5719523.html
Sent from the Camel - Users ma
Claus Ibsen-2 wrote
> Instead of split().method, use split(method)
> eg supply the method call expression as a parameter. That helps the
> compiler.
Yes,
works fine for me. Thank you very, very much!!
kind regards,
Christoph
--
View this message in context:
http://camel.465427.n5.nabble.
Thank you!
Distributed transaction really works with and com.ibm.mq.jms.MQXAConnectionFactory class using.
--
View this message in context:
http://camel.465427.n5.nabble.com/Distributed-transaction-in-camel-route-tp5719279p5719521.html
Sent from the Camel - Users mailing list archive at Nabb
Instead of split().method, use split(method)
eg supply the method call expression as a parameter. That helps the compiler.
On Tue, Sep 18, 2012 at 12:49 PM, cgiera wrote:
> Hello,
>
> I'm trying to get my route working which looks like the following:
>
>
> The problem I have is that the compile
Hello,
I'm trying to get my route working which looks like the following:
The problem I have is that the compiler says "The method beanRef(String,
String) is undefined for the type Object" in the second split:
I replaced the .end() with .endSplit() and so the compiler was happy again,
but then
I am trying to create multiple routes to pick up files from a single FTP
location. I want these routes to be running independently. But camel doesn't
allow creating more than one route for the same FTP location. I believe that
camel posed this restriction as there could be a clash of FTP options li
Hi,
meanwhile I suspect Windows (or the Java VM, not Camel) to be the culprit
for not unlocking files immediately after renaming. There's an extended
version of the Windows MoveFile-API function (MoveFileEx) that takes extra
flags to force Windows to flush copy and delete operations to disk *before
> To be honest, I see companies paying extraordinary sums to get hold of TIBCO,
> Oracle, WebMethods, etc. consultants. So they end up paying license +
> knowledge. With Camel, they only invest in knowledge.
Yeah, actually you always need to invest in knowledge. Thinking that
company might avoid t
On Fri, Sep 14, 2012 at 4:51 PM, Hilde wrote:
> Hello Claus!
>
> For your approaches I was very glad. The option
> /consumer.bridgeErrorHandler=true/ was exactly what I was looking for.
> However the onException(Exception.class) inside the ftp consumer route is
> not reached! I don't know why.
>
On Tue, Sep 18, 2012 at 7:25 AM, Siano, Stephan wrote:
> There are actually two potential usages for idempotent repositories in
> conjunction with (S)FTP endpoints: usage in the endpoint itself or with an
> idempotent consumer in the pipeline (as you describe). If you have the
> idempotent repo
Hi
You can do a message transformation, and use some of the scripting
languages to invoke methods that can do string replacement etc.
http://camel.apache.org/languages
For example groovy etc.
The simple language may also be able to do that if the message body is
already a String, using the repla
Hi
If its possible I suggest to try with a newer Camel release to see if
that helps.
Camel 2.7 is no longer supported by Apache.
Though you use a FuseSource version which is still in support by FuseSource.
So if you are a subscriber then you can get in touch with them to get help asap.
On Fr
33 matches
Mail list logo