Hi All,
While working with Camel things are going find but have a doubt about using
Thread.sleep()
I have the following code
public void executeRoute(String routeName) throws Exception{
resetStatus();
camelContext.startRoute(routeName);
Thread.
Thanks for the reply. I will try both the options. Hope it works
--
View this message in context:
http://camel.465427.n5.nabble.com/Filtering-of-mbeans-in-mbean-server-of-camel-tp4726520p4748940.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks for all the suggestions.
I am still having issues, but I think I have a work around. Is it true I
could just start it up (like below) and this will have the same effect as
using the config file? I will be creating all the routes from within code,
so are there any disadvantages?
> BrokerS
Thanks for the response. I am using camel 2.5 and it does not have stepwise
option. I tried setting passiveMode and binary but it didn’t help.
I am fairly new to Camel so can you please tell me how to enable the debug
logging on the camel ftp and file components?
From: Claus Ibsen-2 [via Camel]
Don,
Let me re-state your suggestion because I'm not sure I've got it right.
(1) Add Processor that creates header "StopFlag".
I assume you refer to Processor that handles/consumes requests to stop
specific instance of a job based on desired conditions and not the
interceptor processor wrapped
Both of these functions seem like they are doing basically the same thing.
What are the advantages and disadvantages of using one method verses the
other?
--
View this message in context:
http://camel.465427.n5.nabble.com/What-are-the-differences-between-using-preMove-and-readLock-rename-tp474
It doesn't look like there is an automatic way of setting the S3 key, so
I'm not sure why it worked the first time.
I think what you're trying to do would be this:
Message in = exchange.getIn();
in.setHeader(S3Constants.KEY, in.getHeader(Exchange.FILE_NAME));
On 2011-08-29 11:11 AM, megachucky w
Hello.
Again a question about the AWS component (S3). What is the best way to set
the CamelAwsS3Key header?
I did it this way:
from("file:files/inbox").setHeader(S3Constants.KEY, simple("Static
Key"))...
The test in the source code does this:
Exchange exchange = template.send("direc
Hello Mathieu,
Some clients are in Python and some are in 1C (proprietary system
popular in Russia). The last one is the main problem :-)
Thank you for response I'll have a look on ActiveMQ + Camel for this
problem, for 1C we will probably write a Com object in .NET.
On Mon, Aug 29, 2011 at 2:59
Thank you Brendan,
I was not aware of this "+" issue...
Best regards,
Kai
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-with-AWS-Component-accessKey-secretKey-Parameters-not-working-tp4745604p4746719.html
Sent from the Camel - Users mailing list archive at Nabble.c
You'll need to URL encode any +'s in your secret key (otherwise, they'll
be treated as spaces). + = %2B, so if your secretkey was
"my+secret\key", your Camel URL should have "secretKey=my%2Bsecret\key".
"Within the query string, the plus sign is reserved as shorthand
notation for a space. Therefor
Hi,
I encountered the same trouble when I got SOAP fault.
The first processor in the onException route, I put
"exchange.getOut().setBody(null)" , then multiple process worked.
When onException route received SOAP fault, the outMessage already contains
Exception info, that cause another Exception
Mon 29-Aug-2011 12:11:40.914 [main] WARN [o.a.c.p.UnitOfWorkProcessor]
Caught unhandled exception while processing ExchangeId:
ID-dblonws21776-4923-1314605498726-0-1
java.lang.IllegalArgumentException: Defensive copy of Exchange is null must
be specified on:
DeadLetterChannel[Debug[TraceIntercepto
Hello Vitaly,
In what languages are the recipient apps written? ActiveMQ has clients for
many languages. Also, it supports a text based protocol (STOMP) which makes it
easy to write your own client if needed.
http://activemq.apache.org/
http://activemq.apache.org/stomp.html
http://activemq.
You can get the mock endpoint from camel context.
If you want to replace it with real component with mock enpdoint, you
may need to change the route yourself.
On 8/29/11 11:22 AM, XiaoPeng Li wrote:
Hi Jiang
Thanks for your reply.
Sorry about the unclear description. I mean someone has fini
I am a commons committer so don't think it hasn't crossed my mind. :)
On Aug 28, 2011 11:48 PM, "Claus Ibsen" wrote:
> On Sat, Aug 27, 2011 at 10:19 AM, James Carman
> wrote:
>> Well, I can tell you that it certainly didn't seem to work the way I
>> need it to work. I need a persistent connectio
Hi Claus Ibsen,
According to you, the codes should be to("idempotentConsumer ...").to("direct:c
").to("direct:d ");
However, I want to("idempotentConsumer ...").to("direct:c ").end().to("direct:d
");
It seems there are different understandings in load balancer component.
Thanks
Xiaopeng Li
--
Hello,
I am playing around with the Camel AWS component. The problems exist for SQS
and S3, same problem! Everything works fine if I use the AmazonSQSClient as
it is used in the source code of the aws component tests:
@Test
public void testFileToAmazonSQSToFileRoute() throws Exception {
Hello Mathieu,
Thank you very much for fast reply.
My problem is the actual recipients are not written in java (most of them).
For java we can use jms and if they all be in java i'd use activemq
and that will be all i needed.
But we have to integrate recipients which include an application
whic
On Mon, Aug 29, 2011 at 10:39 AM, XiaoPeng Li wrote:
> Hi
>
> Here is a piece of CamelContext Spring XML:
>
>
>
>
>
>
>
> ${'sss'}
>
>
>
>
Hi
Here is a piece of CamelContext Spring XML:
${'sss'}
I got a problem in load balancer, about the
Hi
If you have been using the simple language with Camel
http://camel.apache.org/simple
Then we, the Camel team, would like to hear any feedback you may have
about this language.
- Do you see something missing?
- Did you have trouble getting the syntax correct and have the
language do as expected
22 matches
Mail list logo