On Wed, May 2, 2012 at 5:21 PM, Ilger Gerda il...@big.tuwien.ac.at wrote:
Hi all,
We have a number of ftp consumer routes that we start based on URLs read from
our database.
If there's a typo in the URL (e.g. ftp://localhost::1023;), the whole
camelContext won't start.
We're using
On Thu, May 3, 2012 at 6:52 AM, agustino siau_...@yahoo.com wrote:
Hi All,
I have a case like this:
- retrieve source from database (it will return multiple values)
- read the file from the sources
- route the message to queue.
And is there a question in there?
If you want people to
Camel 2.10 will support running OSGi blueprint XML files using the mvn
camel:run plugin.
And the OSGi config admin should be supported as well (well as far as
we have seen/tested).
On Wed, May 2, 2012 at 6:45 PM, ychawla premiergenerat...@yahoo.com wrote:
Hi Dinesh,
You will see a similar
Hi Claus,
Sorry for my bad question. Basically I am confused how to create multiple
dynamic endpoint to consume the file and do processing of the file.
i.e:
from(sql:select systemfolder from paths).from(this value is return from
the previous query).to(activemq://queue:output)
Thanks
--
View
But if you create the route at runtime via the Java DSL, you can catch the
Exception and handle it in the way you want, e.g. ignore it.
Best,
Christian
On Thu, May 3, 2012 at 9:41 AM, Claus Ibsen claus.ib...@gmail.com wrote:
On Wed, May 2, 2012 at 5:21 PM, Ilger Gerda il...@big.tuwien.ac.at
Hi,
Thank you both for your replies! I managed to get it running using the
.setExchangePattern(ExchangePattern.InOut) instead of .inOut().
Regards,
Franjo
--
View this message in context:
http://camel.465427.n5.nabble.com/ExchangePattern-InOut-ActiveMQ-problem-tp5680362p5682604.html
Sent from
On Tue, May 1, 2012 at 10:12 AM, vcheruvu v_cher...@hotmail.com wrote:
Hi Camel riders,
I have been reading up on Camel JMX and learnt that Spring JMX annotations
are no longer required. So, below are camel JMX annotations
org.apache.camel.api.management.ManagedOperation;
With camel 2.8.1 I get the following behavior: I have a setup with an outer
route and an inner. The error handling is defined in the outer route, the
inner route has error handling disabled by setting noErrorHandler(). Now the
error handler of the outer route is called if an exception occurs on
Ah..k.. I thought you will need ManagedOperationParameters for operations
that take parameters. Unlike Spring JMX, it is less verbose. I realised in
the SedaEnpoint code i have seen JMX annotations. I should have figured it
out from that... Thanks for responsding to my query..
--
View this
Hi Daniel
Oh, I forgot that in my example and it actually solves the problem!
Interesting is that I gave that a try in my real project and it didn't
work then. But that was on Camel 2.2 and the example-test is on Camel
2.9.x.
Conclusion: I will try that again on my real project, since it was
Thanks Claus.
So basically the best way would be to just validate the Strings I use to create
the endpoints before using them, is that right?
It still crashes with the same exception when I set autoStartup false:
[DEBUG]- - Warming up route id: route1 having
Hi
Are you sure there is no more stacktrace details?
The caused exception is caught by Camel and recorded on the exchange at
org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:151)[camel-core-2.10-20120501.123310-101.jar:2.10-SNAPSHOT]
Which is then logged by Tomcat later
Hi
Yeah you can validate the endpoints with
CamelContext.getEndpoint(uri);
Why would you have invalid endpoints in the first place. Do you
dynamic compute the endpoints before starting Camel?
On Thu, May 3, 2012 at 1:29 PM, Ilger Gerda il...@big.tuwien.ac.at wrote:
Thanks Claus.
So
Hi
You have to think more in terms of messaging.
A message in Camel consists of
- body
- headers
And that forms the contract of the message which represents the data
you process/route.
For example a file would map to
- body = file content
- headers = file metadata such as file name, size,
Thank you for responding back. My understanding is that Camel should
automatically convert and pass the correct object type to my custom splitter
method. Is this correct ?
Claus Ibsen-2 wrote
Hi
Are you sure there is no more stacktrace details?
Yes. This is the only stacktrace that
Thank you Claus, I'll try that.
Yes, the endpoints are dynamically created - based on data entered manually.
-Original Message-
From: Claus Ibsen [mailto:claus.ib...@gmail.com]
Sent: Thursday, May 03, 2012 2:14 PM
To: users@camel.apache.org
Subject: Re: Mistakes in endpoints prevent
On Thu, May 3, 2012 at 2:37 PM, soumya_sd soumya...@yahoo.com wrote:
Thank you for responding back. My understanding is that Camel should
automatically convert and pass the correct object type to my custom splitter
method. Is this correct ?
Yes it will. And its much likely that the process in
hello,
we are using multicast to route messages to a number of endpoints. The
endpoints contain filter method method to decide if the enpoint is going to
process the message or not. Is there a way to tell if no endpoints have
processed the message? In that case, we would like to put the message
On Thu, May 3, 2012 at 7:05 AM, mohammadwrk mohammad...@yahoo.com wrote:
Camel uses JSCH (http://www.jcraft.com/jsch/) library to support both SCP and
SFTP. This library supports public-private key based authentication using
com.jcraft.jsch.JSch.addIdentity method. However looks like Camel only
Hello -
Is there a difference between the following 2 pieces of code?
I get The OUT message was not received within: 2 millis. error for the
second one.
It seems like setting the exchange pattern in the URL doesn't work.
first
Can you please open an issue for this as well?
Thanks,
Hadrian
On 05/03/2012 01:05 AM, mohammadwrk wrote:
Camel uses JSCH (http://www.jcraft.com/jsch/) library to support both SCP and
SFTP. This library supports public-private key based authentication using
com.jcraft.jsch.JSch.addIdentity
An alternate option that i know is to use RuleNameMatchesAgendaFilter in
drools, by which you can selectively fire the rules with matching rule name.
Typically to add/remove new rules at runtime requires to create a new
KnowledgeSession which might be little expensive. For integration with Camel
Done!
https://issues.apache.org/jira/browse/CAMEL-5242
--
View this message in context:
http://camel.465427.n5.nabble.com/scp-and-private-key-verification-tp5682279p5683769.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Surya,
Thank you for responding. Looks like you have a good deal of experience with
drools and camel.
What I'm trying to do is apply rule-based filtering to objects. However,
these rules are defined at runtime by the users. For example, the user may
say Give me all places that serve _Italian_
@Claus -
I added the e.printStackTrace() to BeanProcessor and got the following
exception in the logs. Also, I got a bunch of exceptions in the tests while
building the camel-core SNAPSHOT. I'm attaching the complete log for your
reference.
Thanks.
You are welcome, that was just my 2 cents..let us know if you find any other
better alternatives.
By 'expensive' i mean for creating knowledgesession at runtime it depends on
various factors like:
1. rules reside on local file system vs on remote repository like guvnor
2. compilation time for
Also, I'm building this on OS-X 10.7.3 with the following version and build
of Java.
java version 1.6.0_31
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3635)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)
--
View this message in context:
Claus Ibsen-2 wrote
On Tue, May 1, 2012 at 8:11 PM, Purple Tea lt;maisa_manoel@gt; wrote:
Thank you for your reply.
Does the simple language also allows us to send multiple method
parameters
like the new features offered in the bean binding?
Yes, just provide a method signature such
surya wrote
By 'expensive' i mean for creating knowledgesession at runtime it depends
on various factors like:
1. rules reside on local file system vs on remote repository like guvnor
2. compilation time for the rules.
3. use case at hand and etc...
In our case, the rules are not
Hello
I've downloaded Camel 2.9.2 sources and tried to build it with Maven 3.x and
then 2.x, without success.
Is there any other tip than those in http://camel.apache.org/building.html ?
Here you are the results:
With mvn clean install :
...
Results :
Failed tests:
Hello All,
I have set up a simple HTTP service using Jetty that acts similar to a REST
endpoint and servers up XML responses. The service works just fine and I am
trying to add some unit tests to it.
I have set up a simple producer template test and tried this:
File inputFile = new
Gavin,
Type Converters only works with common types, but you can write your
own if you need it (ie, Animal).
On Thu, May 3, 2012 at 3:24 PM, gavindscott gavindsc...@gmail.com wrote:
Claus Ibsen-2 wrote
On Tue, May 1, 2012 at 8:11 PM, Purple Tea lt;maisa_manoel@gt; wrote:
Thank you for your
Hadrian,
I downloaded the 2.9.2-src and the corresponding PGP signature file, but gpg
says no valid OpenPGP data found.
I tried the same with the 2.9.2 Windows binary distribution and gpg says
Good Signature. Is there an issue with the signing of the 2.9.2-src? I
even tried the 2.8.5-src and
Hadrian,
I believe the problem is the way the link is setup on the
http://camel.apache.org/download.html page. For the PGP Signature file of
download column underneath Source Distribution section. Compare the
following:
apache-camel-2.7.5-src.zip.asc correctly links to
Thanks Greg, I wanted to confirm the fingerprint of my key and look into
it, but I am glad you figured it out. The sig files are mirrored, as
they are bulk copied with all the artifacts, but we also keep them on
the apache servers, which are the authoritative source.
Actually you just became
So I also tried with an exchange/processor and no luck:
Exchange result = template.request(http://localhost:8081/REST;, new
Processor() {
public void process(Exchange exchange) {
Message in = exchange.getIn();
in.setBody(inputFile);
Hi,
One question for caml-jetty/camel-http:
If camel-jetty/camel-http can dynamically load keystore/trustsore changes?
I mean that when this component started, then the keystore/truststore
changed (example is: import one new certification to truststore). then this
changed truststore can be
Hello All,
Sorry for the bother. Please ignore this issue. I was setting the body of
my response on my rest service as a buffered reader. This worked fined in
the SMX container but was causing an issue in my unit test. I read a string
from the buffered reader and set that as my service
38 matches
Mail list logo