Re: Best way to throw away an exchange in a route in an otherwise() case

2009-10-16 Thread Claus Ibsen
On Sat, Oct 17, 2009 at 2:02 AM, jonathanq wrote: > > I think I found the solution in the documentation (that's what I get for > finally posting a question - never fails I will find the answer 10 minutes > later). > > This is waht I have now: > > from("direct:incoming") >            .choice() >  

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

2009-10-16 Thread Willem Jiang
Hi, You can do some customer modification on the HttpClient through the CamelHttpClientConfigurer interface. public class AcceptSelfSignCertHttpClientConfigure implements HttpClientConfigurer { public void configureHttpClient(HttpClient client) { // register the customer SSLFact

Re: JmsComponent uses spring's deprecated class

2009-10-16 Thread Willem Jiang
You can count on Camel in Action which is working in progress :) linuca wrote: Thanks Fintan! At first glance, this documentation looks really good! I bought ActiveMQ in Action, and I think it is great, the examples are good. But when I tried to use Camel... that is where I see the lack of docu

Re: Best way to throw away an exchange in a route in an otherwise() case

2009-10-16 Thread jonathanq
I think I found the solution in the documentation (that's what I get for finally posting a question - never fails I will find the answer 10 minutes later). This is waht I have now: from("direct:incoming") .choice() .when(header("status").isEqualTo("1"))

Best way to throw away an exchange in a route in an otherwise() case

2009-10-16 Thread jonathanq
I apologize if this is a simple question - but I just need to be sure! I am developing this route that handles multiple message types and uses a "when()" predicate to send the message to the appropriate processor based on a header value. In the "Otherwise" case I want to send it to an unknown fo

Looking for advice on design issues...

2009-10-16 Thread Barry Kaplan
I'm trying to reason out an application design. I have a "service" that I want to make available to "clients" via various protocols (http, jms, mina, etc). I will need some adapter layers on the "service" side to, eg, populate the http response code. I would like remote clients to access to acce

Re: How to save a select result from camel-sql componnent to xml ( No type converter available to convert from type: java.util.ArrayList issue )

2009-10-16 Thread Claus Ibsen
On Fri, Oct 16, 2009 at 5:24 PM, llecaroz wrote: > > Hello, > I am really impresed by the capabilities of Apache Camel. > I am creating a workflow with a similar route >                         > 1 >                                 >                                 >                              

How to save a select result from camel-sql componnent to xml ( No type converter available to convert from type: java.util.ArrayList issue )

2009-10-16 Thread llecaroz
Hello, I am really impresed by the capabilities of Apache Camel. I am creating a workflow with a similar route 1 out.txt

Re: handling large files

2009-10-16 Thread Claus Ibsen
Hi Try searching with google and ask on the AMQ forum. Are you AMQ queue big enough to contain all this data? Do you have consumers reading off the queues? And AMQ have many parameters to configure it correctly. Remember to report which AMQ version you are using. And how big is the messages you

Re: Camel on Google App Engine

2009-10-16 Thread Claus Ibsen
On Fri, Oct 16, 2009 at 4:56 PM, Martin Krasser wrote: > > Their performance is almost the same. Generating 1 million UUIDs on my laptop > takes about 3 seconds +/- 100ms. UUID tends to be a bit faster than Camel's > UUIDGenerator. > Cool. I also guess SUN/Oracle can improve their UUID over time

Re: Camel on Google App Engine

2009-10-16 Thread Martin Krasser
Their performance is almost the same. Generating 1 million UUIDs on my laptop takes about 3 seconds +/- 100ms. UUID tends to be a bit faster than Camel's UUIDGenerator. James.Strachan wrote: > > 2009/10/16 Guillaume Nodet : >> Isn't the activemq uuid generator a lot faster ? > > Dunno - have n

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

2009-10-16 Thread Barry Kaplan
Works perfect. Thanks very much Claus! -- View this message in context: http://www.nabble.com/camel-jetty-to-handle-%22prefix%22-uri--tp25919650p25926725.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JmsComponent uses spring's deprecated class

2009-10-16 Thread linuca
Thanks Fintan! At first glance, this documentation looks really good! I bought ActiveMQ in Action, and I think it is great, the examples are good. But when I tried to use Camel... that is where I see the lack of documentation. What I expect in a manual is, not only the description of the API and

Re: Feeding an Async Processor from an ActiveMQ topic

2009-10-16 Thread Claus Ibsen
On Fri, Oct 16, 2009 at 2:30 PM, Jörn Kottmann wrote: > Claus Ibsen wrote: >> >> On Thu, Oct 15, 2009 at 5:10 PM, Jörn Kottmann wrote: >> >>> >>> Claus Ibsen wrote: >>> Hi You only have 1 consumer listening on the JMS topic     Try increasing this number. >

Re: Problems while running route with the JBI Endpoint

2009-10-16 Thread Willem Jiang
Hi, Did you deploy the servicemix-camel component into you ESB ? Did the spring-dm bundles be resolved rightly ? Willem sailaja p wrote: 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 we

Re: handling large files

2009-10-16 Thread mcarson
Using the scanner seems to work for parsing down the huge file based upon a delimiter. However it appears that either the JmsTemplate I'm using to send messages or ActiveMQ cannot keep pace. Somewhere between 250K - 500K sends, I get this stack trace: Exception in thread "main" org.springframew

Re: Camel on Google App Engine

2009-10-16 Thread James Strachan
2009/10/16 Guillaume Nodet : > Isn't the activemq uuid generator a lot faster ? Dunno - have never benchmarked it. I guess we could either make it configurable; or default to UUID if we can't create the default IdGenerator -- James --- http://macstrac.blogspot.com/ Open Source Integration

Re: Feeding an Async Processor from an ActiveMQ topic

2009-10-16 Thread Jörn Kottmann
Claus Ibsen wrote: On Thu, Oct 15, 2009 at 5:10 PM, 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

Re: Camel on Google App Engine

2009-10-16 Thread Guillaume Nodet
Isn't the activemq uuid generator a lot faster ? On Fri, Oct 16, 2009 at 13:37, James Strachan wrote: > 2009/10/16 Martin Krasser : >> >> I'm trying to get camel-core running on Google App Engine. It doesn't run >> out-of-the-box mainly because Camel's UUID generator. It uses InetAddress >> that

Re: Problems while running route with the JBI Endpoint

2009-10-16 Thread Stan Lewis
The way you have your CXF endpoint configured you can only invoke on it via soap/http. You should have a look at the cxf-camel-nmr example shipped with the FUSE ESB distribution, it shows how you can expose a web service via the NMR and invoke on it from a Camel route which appears to be more like

Re: Camel on Google App Engine

2009-10-16 Thread James Strachan
2009/10/16 Martin Krasser : > > I'm trying to get camel-core running on Google App Engine. It doesn't run > out-of-the-box mainly because Camel's UUID generator. It uses InetAddress > that is not on the JRE class whitelist. Replacing the implementation using > Java's UUID class, I got a simple rout

Re: JmsComponent uses spring's deprecated class

2009-10-16 Thread Fintan Bolton
Also, Progress Software provides free (beta) documentation on its fusesource open source Web site: http://fuseeip.fusesource.org/documentation/index.html and at http://fusesource.com/products/enterprise-camel/ These docs are currently at version 1.6, but they will be updated to 2.0 in a few weeks

Re: Feeding an Async Processor from an ActiveMQ topic

2009-10-16 Thread Claus Ibsen
On Thu, Oct 15, 2009 at 5:10 PM, 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 >

Re: Camel on Google App Engine

2009-10-16 Thread Claus Ibsen
On Fri, Oct 16, 2009 at 9:47 AM, Martin Krasser wrote: > > I'm trying to get camel-core running on Google App Engine. It doesn't run > out-of-the-box mainly because Camel's UUID generator. It uses InetAddress > that is not on the JRE class whitelist. Replacing the implementation using > Java's UUI

Camel on Google App Engine

2009-10-16 Thread Martin Krasser
I'm trying to get camel-core running on Google App Engine. It doesn't run out-of-the-box mainly because Camel's UUID generator. It uses InetAddress that is not on the JRE class whitelist. Replacing the implementation using Java's UUID class, I got a simple route running. Is there any special reas