Re: weaveById - works with 2.13.1, not with 2.14-SNAPSHOT

2014-07-14 Thread Claus Ibsen
Hi Can you try with 2.13.2 also? There was a fix in this to fix an issue when using Content Based Router and weaveById. I bet it may has cause a regression for your use-case. On Mon, Jul 14, 2014 at 11:31 PM, Matt Raible wrote: > Hey all, > > I have the following route defined with the Java DSL

Re: camel-solr, SSL, and SolrCloud

2014-07-14 Thread Doug Turnbull
As I stated in the Jira issue, Scott and I had a bit of a miscommunication. The patch on this Jira issue was withdrawn, and instead I have a pull request that hopefully is easier to digest. Jira: https://issues.apache.org/jira/browse/CAMEL-6827 Pull Req: https://github.com/apache/camel/pull/218:

RE: Any harm of sending messages to a SEDA endpoint that is not started

2014-07-14 Thread bocamel
So that is a no-no then. Thanks! From: Claus Ibsen-2 [via Camel] [mailto:ml-node+s465427n5753795...@n5.nabble.com] Sent: Monday, July 14, 2014 2:27 PM To: bocamel Subject: Re: Any harm of sending messages to a SEDA endpoint that is not started The messages are stored in-memory when using s

weaveById - works with 2.13.1, not with 2.14-SNAPSHOT

2014-07-14 Thread Matt Raible
Hey all, I have the following route defined with the Java DSL: from("direct:localMemberLookup").routeId("localMemberLookup") .process(new MemberLookupToSqlParametersProcessor()).id("sqlParams") .recipientList(simple("sql:{{sql.memberLookup}}")).delimiter("false") .to("log:

Forcing a transaction to commit (using Spring XML)?

2014-07-14 Thread dunnlow
Using camel 10.0.3 with Spring 3.1. Doing workflow processing, I have two routes. One pulls a message from a JMS queue, processes it and then puts a new message on a different JMS queue (where the new message continues to be processed). I DONT want the processing of the new message (pulled f

Re: Warn message on startup due to deadLetterChannel used in route made in Spring Java Config

2014-07-14 Thread Vojtěch Krása
Here is a small quickstart: https://github.com/krasa/camel-quickstart I noticed now that nabble did not send some text I wrote, so again, this thing makes camel unhappy: errorHandler(deadLetterChannel("direct:notificationFailure")) 2014-07-14 21:28 GMT+02:00 Claus Ibsen : > Hi > > Can you tel

Re: Warn message on startup due to deadLetterChannel used in route made in Spring Java Config

2014-07-14 Thread Claus Ibsen
Hi Can you tell a bit more how you startup Camel? And what version do you use? Are you using camel-spring-javaconfig or something else? On Mon, Jul 14, 2014 at 6:12 PM, meo wrote: > Hello, > > I am using org.apache.camel.builder.RouteBuilder as a spring bean, which > creates a route in #configur

Re: Linking multiple routes

2014-07-14 Thread srinivas_vsk
I understand i could use direct but if i have routes defined in multiple classes like Route1 extends Routebuilder Route2 extends RouteBuilder i wanted something like ConfigureAllroutes extends RouteBuilder { which can do something like from(route1).to(route2) e.t.c. } directly refer the rou

Re: Message rejection during graceful shutdown

2014-07-14 Thread Paolo28
Thanks. I missed that property :-) On Tue, Jul 8, 2014 at 7:15 PM, Claus Ibsen-2 [via Camel] < ml-node+s465427n5753556...@n5.nabble.com> wrote: > Hi > > See the acceptMessagesWhileStopping option on camel-jms component > > On Tue, Jul 8, 2014 at 12:47 PM, Paolo28 <[hidden email] >

Re: Any harm of sending messages to a SEDA endpoint that is not started

2014-07-14 Thread Claus Ibsen
The messages are stored in-memory when using seda/vm On Mon, Jul 14, 2014 at 7:43 PM, bocamel wrote: > I use a seda endpoint route to send out email alerts (using smtps inside the > route). The easiest way I can turn off all email alerts is to leave this > seda endpoint unstarted (i.e. autoStart

Recipient List Help -- Routes defined with Java DSL vs Spring XML

2014-07-14 Thread catalyst156
I'm trying to flesh out a prototype based on the Recipient List EIP. I've got a number of routes that I want to be able to configure on the fly based on various parameters stored in a database. My rough design is to store pairs in an in-memory map. This mapping will be kept in sync as the datab

Re: Linking multiple routes

2014-07-14 Thread catalyst156
How do you want the messages to be routed? Do you want to send the same message to each endpoint, process them sequentially, or something altogether different? If you just want to send the same message to multiple routes, try multicasting (http://camel.apache.org/multicast.html). If you're looki

Re: Linking multiple routes

2014-07-14 Thread Jeff Bischoff
Use the "direct" endpoint. On 7/14/14 1:02 PM, "srinivas_vsk" wrote: > >I was looking to link multiple routes together for a complex scenario, >something like > >from(route1).to(route2).to(route3).to(routend) > >Any ideas? > >Thanks > > > > >-- >View this message in context: >http://camel.4654

Any harm of sending messages to a SEDA endpoint that is not started

2014-07-14 Thread bocamel
I use a seda endpoint route to send out email alerts (using smtps inside the route). The easiest way I can turn off all email alerts is to leave this seda endpoint unstarted (i.e. autoStartup="false"). I tested it and it does work. But I wonder if there is any harm in doing this (e.g. whether Ca

Re: Desktop applications

2014-07-14 Thread Jens Breitenstein
Hi Jon, maybe you are asking the wrong question? How is Camel related to an UI Implementation? At the very end your data always ends up in a model which is a main concept of swing, too. So lets assume you have some kind of model classes (regardless if the underlying persistence is in-mem cache

Linking multiple routes

2014-07-14 Thread srinivas_vsk
I was looking to link multiple routes together for a complex scenario, something like from(route1).to(route2).to(route3).to(routend) Any ideas? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Linking-multiple-routes-tp5753789.html Sent from the Camel - Users maili

Desktop applications

2014-07-14 Thread Jon Mithe
Hello, I'm learning about camel but I'm struggling to write a complete swing desktop application with it nicely. All of the examples/tutorials I have read always have a route from listening to a port or a queue to being transformed and outputted into a database/webservice etc but what about if th

Warn message on startup due to deadLetterChannel used in route made in Spring Java Config

2014-07-14 Thread meo
Hello, I am using org.apache.camel.builder.RouteBuilder as a spring bean, which creates a route in #configure method containing The bean is then used here: @Configuration public class CommonCamelConfig extends CamelConfiguration { @Autowired private List routeBuilders;

Throughput logger logs every message - how to configure properly?

2014-07-14 Thread dermoritz
I created a utility class that provides getter for a throughput logger. this is the method: public LogEndpoint getTpLogger(final String name) { LogEndpoint endpoint = context.getEndpoint("log:" + name, LogEndpoint.class); //endpoint.setGroupSize(0); endpoint.setGroupInt

Re: Running apache camel ftp example

2014-07-14 Thread akoufoudakis
Hello, Anjenson! I'd like to ask you a stupid question... Did you try to connect to the FTP server, using different "client" (e. g., filezilla or browser)? -- View this message in context: http://camel.465427.n5.nabble.com/Running-apache-camel-ftp-example-tp5753782p5753783.html Sent from the Ca

Running apache camel ftp example

2014-07-14 Thread Anjenson
Hi everyone, I am a complete beginner and I tried to run example with FTP server provided with Camel's latest release. However, application does not work well as the server always states that it can't connect to suggested link I use changed property file as following ftp.client=ftp://127.0.0.1:8

Re: Help understanding a custom component

2014-07-14 Thread Jon Mithe
Hi, Sorry for the lateness of the reply, thanks for your help, I've had a couple of essentially working implementations, just trying to find a "nice" way of doing / reading and programming random camel things on the side. Cheers, Jon -- View this message in context: http://camel.465427.n5.nab

RE: How should look like exception route in asynchronous processing?

2014-07-14 Thread Elvio Caruana (ecaruana)
It sounds like you want to convert all your processors to behave asynchronously. Camel wraps this up for you with no changes to your implementation. All you need to do is ensure that you are using an asynchronous consumer. See http://camel.apache.org/asynchronous-processing.html Elvio -Ori

RE: How should look like exception route in asynchronous processing?

2014-07-14 Thread M314
What about AsyncCallback class? Should I just make a empty implementation like this: new AsyncCallback() { public void done(boolean sync) {} } and do not care about it, since I have exception handling already written in different route? -- View this message in context: http://

RE: How should look like exception route in asynchronous processing?

2014-07-14 Thread Elvio Caruana (ecaruana)
Use exchange.setException() in your processor. http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Exchange.html#setException%28java.lang.Throwable%29 Elvio -Original Message- From: M314 [mailto:maciej.piet...@gmail.com] Sent: 14 July 2014 09:49 To: users@camel.apac

Re: Configuring a Routebuilder from activemq.xml file?

2014-07-14 Thread arronlee
Hi, As for me, I am testing the related java barcode generator these days. Do you have any ideas about it? Or any good suggestion? I am totally a green hand on barcode generating field. Any suggestion will be appreciated. Thanks in advance.

How should look like exception route in asynchronous processing?

2014-07-14 Thread M314
I am about to modify camel based application by changing Processors onto AsyncProcessors. I do not fully understand how exception handling route should look like when route is consist of AsyncProcessors. Currently most of code looks like this: *Route parts*: onException(MyException.class).hand

Re: How to use a public endpoint outside of camecontext?

2014-07-14 Thread Claus Ibsen
You need to register the endpoint outside spring, as is for spring/blueprint only. Just register it in whatever registry that akka offers. There must be some way of injecting a endpoint into akka, that Camel can lookup. and mind that is not spring, Camel is able to load routes from xml files, w