Problems while running route with the JBI Endpoint

2009-10-15 Thread sailaja p
Hi All, I am trying to invoke a webservice using the JBI Endpoint. I got into problems. I goggled the errors, but no luck. I have created a Bottom Up webservice and deployed it in FUSE ESB 4.2 server and published it. Service is deployed properly and I am able to view the corresponding endpoi

Re: Dynamic RecipientList delimeter issue

2009-10-15 Thread Claus Ibsen
On Fri, Oct 16, 2009 at 1:52 AM, chrajanirao wrote: > > We upgraded from Camel 1.5 to 2.0 and realized that the default behavior of > RecipientList has changed. Even though in 2.0, we can specify a delimiter, > comma is always considered as a delimiter on top of what ever we specified > as our cus

Re: What is recommended way of running many route sets in one application?

2009-10-15 Thread Claus Ibsen
On Wed, Oct 14, 2009 at 4:21 PM, Vladimir Okhotnikov wrote: > > Hi, > > in our setup we would like to package different set of routes for different > tasks into one java-based windows service. For example, we have one task to > import files from some ftp to one clients database, another to import

Re: camel-jetty to handle "prefix" uri?

2009-10-15 Thread Claus Ibsen
On Fri, Oct 16, 2009 at 6:32 AM, Barry Kaplan wrote: > > Is there any way to use a partial uri with camel-jetty? eg, > from("jetty:http://host/";) where "http://host/foobar"; would be handled (and > the processor would decide what to do given the full uri)? > I think its the option matchOnUriPref

Re: Dynamic RecipientList delimeter issue

2009-10-15 Thread Claus Ibsen
On Fri, Oct 16, 2009 at 5:52 AM, Claus Ibsen wrote: > On Fri, Oct 16, 2009 at 1:52 AM, chrajanirao wrote: >> >> We upgraded from Camel 1.5 to 2.0 and realized that the default behavior of >> RecipientList has changed. Even though in 2.0, we can specify a delimiter, >> comma is always considered a

camel-jetty to handle "prefix" uri?

2009-10-15 Thread Barry Kaplan
Is there any way to use a partial uri with camel-jetty? eg, from("jetty:http://host/";) where "http://host/foobar"; would be handled (and the processor would decide what to do given the full uri)? -barry -- View this message in context: http://www.nabble.com/camel-jetty-to-handle-%22prefix%22-u

Re: Dynamic RecipientList delimeter issue

2009-10-15 Thread Claus Ibsen
On Fri, Oct 16, 2009 at 1:52 AM, chrajanirao wrote: > > We upgraded from Camel 1.5 to 2.0 and realized that the default behavior of > RecipientList has changed. Even though in 2.0, we can specify a delimiter, > comma is always considered as a delimiter on top of what ever we specified > as our cus

Dynamic RecipientList delimeter issue

2009-10-15 Thread chrajanirao
We upgraded from Camel 1.5 to 2.0 and realized that the default behavior of RecipientList has changed. Even though in 2.0, we can specify a delimiter, comma is always considered as a delimiter on top of what ever we specified as our custom delimiter. Is there a way to make it ignore commas in th

Using HTTPS in camel-http when remote side has self-signed cert

2009-10-15 Thread Scott Parkerson
I'm trying to use Camel's HTTP component to send a POST request to a web service using HTTPS. When I attempt to connect, I get the following exception: org.apache.camel.RuntimeCamelException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:

Re: Calling setHeader() after to()

2009-10-15 Thread Dragisa Krsmanovic
On Thu, 2009-10-15 at 08:37 +0200, Claus Ibsen wrote: > On Wed, Oct 14, 2009 at 11:07 PM, Dragisa Krsmanovic > wrote: > > On Wed, 2009-10-14 at 05:58 +0200, Claus Ibsen wrote: > >> Ah the reason is that the javac and generics is limited in terms of DSL > >> wise. > >> > >> What you need to do is

Re: Feeding an Async Processor from an ActiveMQ topic

2009-10-15 Thread Jörn Kottmann
Jörn Kottmann wrote: Claus Ibsen wrote: Hi You only have 1 consumer listening on the JMS topic Try increasing this number. JMS Topics can only have one concurrent consumer, so I guess I have to switch to a Queue, would it then run 100 threads for concurrentConsumers=100 ? Could inst

Re: Feeding an Async Processor from an ActiveMQ topic

2009-10-15 Thread Jörn Kottmann
Claus Ibsen wrote: Hi You only have 1 consumer listening on the JMS topic Try increasing this number. JMS Topics can only have one concurrent consumer, so I guess I have to switch to a Queue, would it then run 100 threads for concurrentConsumers=100 ? Could instead of a transaction f

Re: Feeding an Async Processor from an ActiveMQ topic

2009-10-15 Thread Claus Ibsen
Hi You only have 1 consumer listening on the JMS topic Try increasing this number. On Thu, Oct 15, 2009 at 4:32 PM, Jörn Kottmann wrote: > Hello, > > in this route the messages are read from an ActiveMQ topic > and then send to an Async Processor. The Async Processor > drives the proces

Feeding an Async Processor from an ActiveMQ topic

2009-10-15 Thread Jörn Kottmann
Hello, in this route the messages are read from an ActiveMQ topic and then send to an Async Processor. The Async Processor drives the processing in an other systems which processes 100 messages parallel. How can I configure camel to keep the Async Processor supplied with at least 100 messages co

Re: How to aggregate all messages into a single message?

2009-10-15 Thread kodcanavari
Thanks a lot dulanov, it worked :) but can you tell me what exactly end() do and why i cant use the aggregator class ? dulanov wrote: > > Try to use this.from(FROM_FOLDER).split(new LdapEntitySplitExpression(), > new > LdapAggregationStrategy()).process(new > LdapModifyProcessor()).end().to(

Re: Running Camel Examples with Maven in version 2.0.0

2009-10-15 Thread Jon Anstey
No worries. Thanks for reporting this. I think I have a fix for the next release :) On Thu, Oct 15, 2009 at 11:20 AM, Ryadh Amar wrote: > > Hi Janstey, > Looks like I was wrong, I really believed that all the examples were > affected... > Excuse the haste :D > But as you've noticed, camel-tracer

Re: Running Camel Examples with Maven in version 2.0.0

2009-10-15 Thread Ryadh Amar
Hi Janstey, Looks like I was wrong, I really believed that all the examples were affected... Excuse the haste :D But as you've noticed, camel-tracer-example still references the SNAPSHOT. Thanks for you efforts. janstey wrote: > > Whoa, that is bad. I tried out the latest from > http://repo2.ma

Re: JmsComponent uses spring's deprecated class

2009-10-15 Thread linuca
Claus Ibsen-2 wrote: > > >> A manual is here >> http://camel.apache.org/manual.html > > I have already read this manual, it is good, but not good enough for me. > >> Also use the google search bar in the front page of the camel website. > > I've already tried this. There are examples, but I

Re: Running Camel Examples with Maven in version 2.0.0

2009-10-15 Thread Jon Anstey
Whoa, that is bad. I tried out the latest from http://repo2.maven.org/maven2/org/apache/camel/apache-camel/2.0.0/apache-camel-2.0.0.tar.gzand it only seems that examples/camel-example-tracer/pom.xml has the SNAPSHOT (still bad of course but not as bad as all examples containing SNAPSHOTs!). Btw wh

Re: How to aggregate all messages into a single message?

2009-10-15 Thread Claus Ibsen
Ah it should haven been without together *with out* the aggregator. On Thu, Oct 15, 2009 at 3:05 PM, Claus Ibsen wrote: > Hi > > The splitter has build in join so you can do that all together with > the aggregator. > > See the "Split aggregate request/reply sample" in > http://camel.apache.

Re: How to aggregate all messages into a single message?

2009-10-15 Thread Dmitry Ulanov
Try to use this.from(FROM_FOLDER).split(new LdapEntitySplitExpression(), new LdapAggregationStrategy()).process(new LdapModifyProcessor()).end().to(TO_FOLDER); On Thu, Oct 15, 2009 at 5:01 PM, kodcanavari wrote: > > Hi, > > I want to use an aggregator in order to aggregate all messages comming.

Re: How to aggregate all messages into a single message?

2009-10-15 Thread Claus Ibsen
Hi The splitter has build in join so you can do that all together with the aggregator. See the "Split aggregate request/reply sample" in http://camel.apache.org/splitter.html On Thu, Oct 15, 2009 at 3:01 PM, kodcanavari wrote: > > Hi, > > I want to use an aggregator in order to aggregate all m

Re: JmsComponent uses spring's deprecated class

2009-10-15 Thread Claus Ibsen
On Thu, Oct 15, 2009 at 2:23 PM, linuca wrote: > > I just switched to Spring 2.5.6, and it's working fine. > > Please, I want a decent manual for Camel! It's such a good thing that we > have a forum al least. > A manual is here http://camel.apache.org/manual.html Also use the google search bar i

How to aggregate all messages into a single message?

2009-10-15 Thread kodcanavari
Hi, I want to use an aggregator in order to aggregate all messages comming. On my route i'm making a split with a splitter , then i process every messages in parallel and then i want to aggregate them all into a single file. Here is my snippet : this.from(FROM_FOLDER).split(new LdapEntitySpl

Re: JmsComponent uses spring's deprecated class

2009-10-15 Thread linuca
I just switched to Spring 2.5.6, and it's working fine. Please, I want a decent manual for Camel! It's such a good thing that we have a forum al least. Thanks. -- View this message in context: http://www.nabble.com/JmsComponent-uses-spring%27s-deprecated-class-tp25897204p25907601.html Sent fro

Running Camel Examples with Maven in version 2.0.0

2009-10-15 Thread Ryadh Amar
Hello Camel Riders, I wanted to tryout some of the examples bundled with the current downloadable distribution of Camel (2.0.0) Maven fails, but I have pinpointed the culprit; in each example, the parent pom (which can be found in the examples directory) is referenced this way: ===

Re: Servlet End-Point Route Processing in XML

2009-10-15 Thread Claus Ibsen
There is a setHeader tag. Which accepts an expression. So we can use the simple language to concat a dynamic string. ${in.header.Content-Type};charset=UTF-8 You can also just use the old java code and refer to it as a processor ... And have a class public class MyProcessor implement

Re: JmsComponent uses spring's deprecated class

2009-10-15 Thread Claus Ibsen
Hi We have not upgraded to Spring 3.0 yet in Apache Camel. We wait for the official 3.0 release to be GA. There may be other areas where Spring 3.0 is causing issues. We haven't started looking into that. I do wonder if anyone is using the old 1.02 JMS API anymore? Maybe some old JMS brokers onl

Servlet End-Point Route Processing in XML

2009-10-15 Thread Me Coder
I'd greatly appreciate help in converting the below route into its XML equivalent. I am stuck at the part on how to set the content type, charset header and the body of the response itself. Thanks... from("servlet:///hello?matchOnUriPrefix=true").process(new Processor() { public void proces