Re: Route Question

2011-04-06 Thread jpalmer1026
Nothing is wrong with the proposed solution per se. It would just be cleaner if at the end of the route I could just put some sort of otherwise clause since I know at this point that the file isn't one contained in the list that is getting passed in. Note sure why you couldn't read my snippet (I di

Re: error in schema

2011-04-06 Thread dead_devil_66
by the way, these are the xml files i have for camel configuration: camel-cxf.xml http://pastie.org/1764119 camel-context.xml http://pastie.org/1764127 camel-route.xml http://pastie.org/1764129 -- View this message in context: http://camel.465427.n5.nabble.com/error-in-schema-tp4285364p4286752

Re: Route Question

2011-04-06 Thread Claus Straube
I can't read your sample. What's the problem with two filters and two routes? You create a base class which reads the file into a list of file names and both filters extend these class. The one filter returns true if the file name is inside the list, the other returns true if it is not. On 0

Re: Camel Routes startup error

2011-04-06 Thread Tim
I've had similar problems before and had to use @DependsOn which is a spring provided annotation to wait on the initialization of camel before sending message to a route. On Wed, Apr 6, 2011 at 10:59 AM, lone squirrely wrote: > Hello! > > I am writing an application (camel + spring) that will sen

Re: error in schema

2011-04-06 Thread dead_devil_66
Thanks for answering. :) Seems that the namespace issues are a recurring problem... Now, as far as i can see, i have no errors declared in the xml files. *But*, after installing in Fuse ESB, i got the same error message. This time, i checked the log file. This is the content: http://pastie.org/

Camel Routes startup error

2011-04-06 Thread lone squirrely
Hello! I am writing an application (camel + spring) that will send a protobuf message to an already running activeMq instance - and it seems to be working. But the problem is that the routes don't seem to have started yet... the error i am getting is about there being no consumers on the endpoin

Re: Route Question

2011-04-06 Thread jpalmer1026
I ended up creating a file filter to route files that match one of the filenames from the list I'm passing in. Is there a way to route non-matching filenames to a different uri without creating a new file filter and a new route? My current route is as follows: Thanks. --

Re: camel-core-osgi

2011-04-06 Thread Donald Whytock
Working with different service levels would work, but it would mean every bundle that's dependent on Camel, or dependent on bundles that are dependent on Camel, would need to be at the higher service level. The Felix and OSGi groups seem to recommend against this approach; they advocate being able

Re: Route Question

2011-04-06 Thread Claus Straube
Hi. If I understand it correct this is your case: 1. load master file with file names 2. load files from an other directory 3. decide where to save them As Claus wrote - you should use here a file filter which reads in your master file. But you have left all the files that are not on the list.

Re: Route Question

2011-04-06 Thread Claus Ibsen
On Wed, Apr 6, 2011 at 4:24 PM, jpalmer1026 wrote: > Hi Claus, > > Thanks for the information. This is getting me a little closer but it still > doesn't solve my particular use case. What I'm actually trying to do is > route files based on filename. The filenames will be read in from an > external

Re: Route Question

2011-04-06 Thread jpalmer1026
Hi Claus, Thanks for the information. This is getting me a little closer but it still doesn't solve my particular use case. What I'm actually trying to do is route files based on filename. The filenames will be read in from an external file upon the launch of the app and this filename list will th

Re: Camel WebConsole in Jetty

2011-04-06 Thread davsclaus
Currently you need one console in each WAR. Apache ServiceMix 4.x (based on OSGi) will allow you to host one console and monitor any Camel app. However we currently haven't implemented this, but its doable based on the OSGi modularity. - Claus Ibsen - FuseSource Email: cib...@

Issues posting to this mailing list

2011-04-06 Thread Claus Ibsen
Hi There can be issues when you want to post to the Camel mailing. The number one issue is HTML mails. So turn those off, when you post to nabble or the Apache mailing list. There is more information and details here https://cwiki.apache.org/confluence/display/CAMEL/Discussion+Forums -- Claus

Re: JMS queue consumer hangs

2011-04-06 Thread paulvitic
Another note I would like to add is since the subsequent endpoints after the "tcpDeliverer" processor are slow. For example the processor that sends message via HTTP post may need to get a session from the remote HTTP server first and than send the message. I am using Camel version 2.5 Thanks Pau

JMS queue consumer hangs

2011-04-06 Thread paulvitic
I have a route with a JMS consumer as starting endpoint. The configuration details of the endpoint are as follows: connectionFactory = org.apache.activemq.pool.PooledConnectionFactory explicitQosEnabled = true deliveryPersistent = false timeToLive = 360 sessionAcknowledgeModeName = AUTO_ACKNOW

Re: Routing from restlet to activemq

2011-04-06 Thread Michael Dewitte
Ah ! thanks, it worked ! ;-) Mike 2011/4/6 Björn Bength > Hi, > you should be able to use > > > or use at > > > On Tue, Apr 5, 2011 at 2:44 PM, Michael Dewitte > wrote: > > Hi, > > > > I'd like to have a rest interface for my clients to publish events on a > > topic (with some transformati

Re: Camel WebConsole in Jetty

2011-04-06 Thread davsclaus
See more details here http://camel.apache.org/web-console.html And there is a link to a discussion about embedding web console into your custom app - Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blog

Design Review

2011-04-06 Thread Paul Lowry
Hi all, I have written a route to do the following: - expose a restful service - invoke a http server - catch errors; put the associated messages on an error queue - catch connection exceptions and unknown business errors; put the associated request messages on a retry queue - every 24 hours,

Re: Routing from restlet to activemq

2011-04-06 Thread Björn Bength
Hi, you should be able to use or use at On Tue, Apr 5, 2011 at 2:44 PM, Michael Dewitte wrote: > Hi, > > I'd like to have a rest interface for my clients to publish events on a > topic (with some transformation and filtering in between). To do that, I > thought about using a route like this

Re: Recommended approach for JMS polling consumer

2011-04-06 Thread Paul Lowry
Thanks Hadrian, that worked a treat! On Mon, 2011-04-04 at 08:20 -0700, Hadrian Zbarcea wrote: > I would use option [1], using probably quartz instead of timer. > > Hadrian > > On Apr 4, 2011, at 11:09 AM, Paul Lowry wrote: > > > Hi, > > > > I am using Camel 2.4.0 to define routes in XML (Spring