Looking for advice or help on batching/queueing for a fairly simple route

2012-04-07 Thread Aaron Daubman
Greetings, I have the following quite-simple route: ---snip--- BeanIODataFormat dataCoreFormatTest = new BeanIODataFormat("beanio/mappings.xml", "dataCoreFileTest"); dataCoreFormatTest.setIgnoreInvalidRecords(true); //Ignore invalid records StringBuilder fileUri = new StringBuilder("file://"); f

RestFul Services using CAMEL

2012-04-07 Thread RR
I am a newbie to CAMEL. Pardon me if this is a so naive. Our users are going to call a REST webservice that's going to load a very big XML file and respond back only a portion of the XML. I came across tokenizeXML() in Splitter EAI pattern and played around a bit and works great stand-alone. But

Re: RDF Integration

2012-04-07 Thread Hadrian Zbarcea
The short answer is: no, not at this time. Your proposal sounds ok. I personally never used sesame. I just checked and it uses a BSD license, which is good, no problems there. While as I said previously my eyes were on jena, there is no problem having camel multiple camel components targeting

Re: Mina endpoint getEndpointUri() results in error?

2012-04-07 Thread Steve973
I think I may have found the answer, so please correct me if I am wrong. Should I register a bean definition created from the codec instance into the context, and then refer to it by the name it is registered under? Something like: DefaultListableBeanFactory beanFactory = (DefaultListableBeanFac

Re: Mina endpoint getEndpointUri() results in error?

2012-04-07 Thread Steve973
Thanks for the reply. How do you specify the URI for a Mina endpoint when you might not know the coded that you're using until runtime? If you already know the coded and you specify it as a spring bean, you can just specify it like #codecBeanName. Is there another way to do it? -- View this mes

Re: My long running bean sending out messages

2012-04-07 Thread Borut Bolčina
Hello, thanks for the time to look into it! So in Camel version 2.9.2 the above LongRunningBean will send out messages as expected? What about the @InOnly? When sending the messages out I do not need/expect a return/confirmation message. How will I achieve this? And, is there an ETA on 2.9.2? Th

Re: OSGI Transaction Propagation to Camel Route

2012-04-07 Thread Claus Ibsen
On Thu, Apr 5, 2012 at 5:57 PM, Chris Geer wrote: > Claus, > > I realize that but I can't explain what I'm seeing. Here is an additional > piece of info, here is debug log for the sending of the message. As you can > see, the transaction fields are all null but I don't know if that is normal > or

Re: How to move mail into imap folder after reading

2012-04-07 Thread Binamebou
Thank's, I will try to do it myself and I will propose a patch in case of success. Benoît -- View this message in context: http://camel.465427.n5.nabble.com/How-to-move-mail-into-imap-folder-after-reading-tp5622427p5624348.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: My long running bean sending out messages

2012-04-07 Thread Claus Ibsen
Hi I reproduced the issue and logged a JIRA to improve this https://issues.apache.org/jira/browse/CAMEL-5149 On Sat, Apr 7, 2012 at 11:05 AM, Claus Ibsen wrote: > Hi > > What version of Camel are you using? > > It looks like your bean does not get the @Produce injected from the > route when you

Re: My long running bean sending out messages

2012-04-07 Thread Claus Ibsen
Hi What version of Camel are you using? It looks like your bean does not get the @Produce injected from the route when you do .bean(LongRunningBean.class, "startLongOperation") On Fri, Apr 6, 2012 at 3:04 PM, Borut Bolčina wrote: > Hello, > > I am trying to marry crawler4j with Camel and hav

Re: RDF Integration

2012-04-07 Thread jpcook01
Thanks for the replies. We are using Sesame: http://www.openrdf.org/doc/sesame2/users/ch01.html My question was really to establish whether any support existed yet for querying such repositories, it doesn't look like it. Although Sesame does have a restful http protocol, using the http component

Re: Add property to Route (not Exchange)

2012-04-07 Thread Claus Ibsen
On Wed, Apr 4, 2012 at 9:53 PM, Jeff Segal wrote: > Sure. I have a system which manages Routes dynamically, which requires some > garbage collection to iterate through all Routes in the CamelContext and > remove any which are deemed no longer necessary. For the sake of > discussion, let's say that

Re: Mina endpoint getEndpointUri() results in error?

2012-04-07 Thread Claus Ibsen
On Sat, Apr 7, 2012 at 6:21 AM, Steve973 wrote: > Due to a design consideration, we are creating endpoints by using a factory. > A client specifies the type of endpoint it wants by submitting a > configuration, but as the server, we want to be able to control what > resources we provide and how we