trying to implement rendezvous

2009-03-10 Thread Neil Rutherford
hi, I've been tasked with doing a proof of concept project using Camel, the goal is to implement a message switching server. The switch needs to do the following: - receive XML messages via TCP socket - these messages are made up of smaller messages, so the switch will need to split them into s

Re: Integartion with Glassfish

2009-03-10 Thread Claus Ibsen
On Wed, Mar 11, 2009 at 12:32 AM, m.s. wrote: > > > Claus Ibsen-2 wrote: >> >> No Camel is an basically an API so its just a bunch of .jar files. So >> it can be embedded how you like it. >> >> So you can run Camel with Glassfish as: >> - as a bunch of .jars in WEB-INF/lib for the web deployment m

Re: Integartion with Glassfish

2009-03-10 Thread m.s.
Claus Ibsen-2 wrote: > > No Camel is an basically an API so its just a bunch of .jar files. So > it can be embedded how you like it. > > So you can run Camel with Glassfish as: > - as a bunch of .jars in WEB-INF/lib for the web deployment model > - as OSGi > - combined with Spring and let Sprin

Lingo Style Async Request Reply

2009-03-10 Thread Scott Clasen
Are there plans to support Lingo style async request-reply in any upcoming release of Camel? >From some older posts it looks like there may have been a plan to get it in eventually but this dosent seem to be in 1.6.0. Thanks -- View this message in context: http://www.nabble.com/Lingo-Style-A

Re: Transactional batching

2009-03-10 Thread Thomas Beckmann
Hi, Am Dienstag 10 März 2009 schrieb Claus Ibsen: > On Tue, Mar 10, 2009 at 3:23 PM, Thomas Beckmann > > wrote: > > Hi, > > > > we are using camel 1.6 and we have a simple route that reads from an > > activemq queue and writes to another activemq queue based on a recipient > > list. The read and

Re: Camel in Batch Processing.

2009-03-10 Thread Adrian Trenaman
Hi there Christian, Sounds like the "event" that you're processing is not the appearance of a single file, but rather a nightly occurrence which then requires the processing of many files. Perhaps you could trigger the event using a timer or quartz endpoint, and then do the work inside a cu

Re: Camel in Batch Processing.

2009-03-10 Thread thabach
Hi Adrian I watched your presentation, very nice indeed, but my scenario is more "batch" in nature. The piece of software I envision implementing in Camel is pretty stateful, one could say. On every trigger (initiated by a timer or by other means) the integration logic is supposed to bootstrap it

Re: Adding custom mbeans to camel JMX mbeanserver

2009-03-10 Thread smullins7
Hey thanks for the quick reply, I should have said what I've already tried, using Spring JMX wiring does not work. I add the annotations on my custom endpoint, then I wire in the mbean server, assembler, etc and i don't see my custom endpoint - I still only see the camel mbeans. I tried using th

Re: Downloading big files via the http component

2009-03-10 Thread Willem Jiang
Hi I just checked the code of http component, we are not using the cached stream in it. A JIRA[1] is created for tracing this requirement. I will also update the wiki page for the cached stream stuff. [1]https://issues.apache.org/activemq/browse/CAMEL-1445 Willem Claus Ibsen wrote: > On Tue, Ma

Re: Transactional batching

2009-03-10 Thread Adrian Trenaman
Seems to me that each message is being read from ActiveMQ in it's own transaction, so, you can't really have this batching happen in one transaction. You might want to * Read each message from AMQ in it's own JMS transaction * Write the content of each message to a database * Then, have rout

Re: Transactional batching

2009-03-10 Thread Claus Ibsen
On Tue, Mar 10, 2009 at 3:23 PM, Thomas Beckmann wrote: > Hi, > > we are using camel 1.6 and we have a simple route that reads from an activemq > queue and writes to another activemq queue based on a recipient list. The > read and write is done in a transaction. > > Is it possible to somehow confi

Re: Camel-Mina Request/Response correlation

2009-03-10 Thread Claus Ibsen
On Tue, Mar 10, 2009 at 3:08 PM, mam1 wrote: > > > > Claus Ibsen-2 wrote: >> >> On Mon, Mar 9, 2009 at 6:21 PM, mam1 wrote: >>> >>> Hi. >>> >>> I have a multithreaded environment using Camel's Mina component with >>> Spring >>> Remoting as following: >>> >>> >>>        >>                     ser

Transactional batching

2009-03-10 Thread Thomas Beckmann
Hi, we are using camel 1.6 and we have a simple route that reads from an activemq queue and writes to another activemq queue based on a recipient list. The read and write is done in a transaction. Is it possible to somehow configure a batchsize and timeout so that a couple of messages are proc

Re: Camel-Mina Request/Response correlation

2009-03-10 Thread mam1
Claus Ibsen-2 wrote: > > On Mon, Mar 9, 2009 at 6:21 PM, mam1 wrote: >> >> Hi. >> >> I have a multithreaded environment using Camel's Mina component with >> Spring >> Remoting as following: >> >> >>        >                     serviceInterface="a.b.c.TestService" >>                     servi

Not possible to build camel-scala (2.0 SNASHOT)

2009-03-10 Thread cmoulliard
Hi, When I try to build camel-scala, I receive the following error : D:\Dvlpt\Java\workspace-ganymede\apache-camel-source\components\camel-scala>mvn clean install -Dtest=false [INFO] Scanning for projects... [INFO] [INFO] B

Re: routing like "jetty-splitter-aggregator-reply" request/response problem

2009-03-10 Thread Claus Ibsen
On Tue, Mar 10, 2009 at 9:14 AM, beduin wrote: > > > > Claus Ibsen-2 wrote: >> >> On Fri, Mar 6, 2009 at 4:30 PM, beduin wrote: >>> >>> Hi, I'm building a routing like this : >>> >>> from jetty to >>> splitter to >>> aggegator to >>> responseProcessor to >>> mockend >>> >>> each endpoint is set t

Re: Downloading big files via the http component

2009-03-10 Thread Claus Ibsen
On Tue, Mar 10, 2009 at 10:39 AM, _Jens wrote: > > Hi, > > I have tried to use the http component to download bigger files from a > server. Initially I thought that I would get the input stream from the > response in the body of the exchange. But as far as I can tell I'm always > getting a ByteArr

Re: java.lang.NoClassDefFoundError: org/apache/camel/model/RouteType - camel 2.0

2009-03-10 Thread Claus Ibsen
Yeah all camel components have been rebuild. You need to rebuild and install new bundles of any camel component you use, also camel-spring-javaconfig And could you look in your class: com.xpectis.camel.bindy.csv.FileCsvUnmarshalTest$ContextConfig Looks like it is using the old classes!! On Tue,

Downloading big files via the http component

2009-03-10 Thread _Jens
Hi, I have tried to use the http component to download bigger files from a server. Initially I thought that I would get the input stream from the response in the body of the exchange. But as far as I can tell I'm always getting a ByteArrayInputStream, which means the stream is somehow getting cha

Re: java.lang.NoClassDefFoundError: org/apache/camel/model/RouteType - camel 2.0

2009-03-10 Thread cmoulliard
Claus, Have you also updated the code to build the routes when we use spring javaconfig : @ContextConfiguration(locations = "com.xpectis.camel.bindy.csv.FileCsvUnmarshalTest$ContextConfig", loader = JavaConfigContextLoader.class) public class FileCsvUnmarshalTest extends AbstractJUnit4SpringCont

Re: java.lang.NoClassDefFoundError: org/apache/camel/model/RouteType - camel 2.0

2009-03-10 Thread cmoulliard
I will recheck but I have done a build of camel-core, camel-spring, camel-osgi and camel-bindy yesterday afternoon. Claus Ibsen-2 wrote: > > The classes have been renamed lately in Camel. xxxType is now named > xxxDefinition. > > So you need to update all camel jars in your container. Also cam

Re: routing like "jetty-splitter-aggregator-reply" request/response problem

2009-03-10 Thread beduin
Claus Ibsen-2 wrote: > > On Fri, Mar 6, 2009 at 4:30 PM, beduin wrote: >> >> Hi, I'm building a routing like this : >> >> from jetty to >> splitter to >> aggegator to >> responseProcessor to >> mockend >> >> each endpoint is set to InOut and direct. >> Basically I want that request from jetty

Re: Adding custom mbeans to camel JMX mbeanserver

2009-03-10 Thread Claus Ibsen
On Mon, Mar 9, 2009 at 10:16 PM, smullins7 wrote: > > Hello, I have custom endpoints developed that I would like to expose as > mbeans through JMX.  Currently, only the attributes of ManagedEndpoint show > up.  What is the easiest way to get a custom endpoint exposed in jmx while > piggy-backing o

Re: Camel-Mina Request/Response correlation

2009-03-10 Thread Claus Ibsen
On Mon, Mar 9, 2009 at 6:21 PM, mam1 wrote: > > Hi. > > I have a multithreaded environment using Camel's Mina component with Spring > Remoting as following: > > >                             serviceInterface="a.b.c.TestService" >                     serviceUrl="direct:test_service"/> > >        

Re: Simple split / aggregate scenario - help me understand what's wrong

2009-03-10 Thread Claus Ibsen
Hi Could you check this related topic? http://www.nabble.com/routing-like-%22jetty-splitter-aggregator-reply%22-request-response-problem-td22374696s22882.html On Sun, Mar 8, 2009 at 1:35 PM, Tomasz Domzal wrote: > Hi, > > Simple test case. Please tell me why splitting and > aggregating doesn't

Re: routing like "jetty-splitter-aggregator-reply" request/response problem

2009-03-10 Thread Claus Ibsen
Hi See the Splitter EIP where I added a sample in the bottom of the page: http://cwiki.apache.org/confluence/display/CAMEL/Splitter The static html page should be updated as well, but it could take eg several hours, so the link above is for the dynamic real time wiki pages. However they are usual