Re: A bug of InOut pattern?

2010-01-15 Thread ext2
This is a bad news for me. Processor is very useful for customized message transformer, but now it seems the processor cannot provide MEP-independent feature. I must deal with all the MEP of camel correctly in the Processor if I want to re-use the processor in different MEP. Camel provide POJO B

BAM

2010-01-15 Thread mistrz
1. How do I know that the BAM process is working? Another words, what are the strategies to monitor BAM? 2. Do you typically run BAM processes in different deployment units (containers) than the actual routes? 3. I'm assuming one BAM process can monitor routes from different deployment units (c

Re: Request message accessibility/manipulation

2010-01-15 Thread Stephen Gargan
To narrow it down a little further, can you supply one of the stock strategies to the route but leave the bean definition in place. It would be interesting to see if it resolves when not used by camel. Also try removing org.tempuri.MyAggregationStrategy from the manifest. Did the route I suggeste

Re: Spring batch integration with camel

2010-01-15 Thread Christian Mueller
Hey Charles, I'm not sure, what is the best integration solution from Camel and Spring Batch. That's the reason why I ask for the ideas and proposals of other Camel riders. May be there is no need to integrate Camel and Spring Batch, because Spring Batch could send/write the Item to a queue and l

Re: Request message accessibility/manipulation

2010-01-15 Thread lekkie
Thanks. Camel Version -> 2.1.0.psc-01-00RC1 Osgi Container -> Karaf Osgi version -> spring-osgi-core (1.2.0) camel-osgi -> (2.1.0.psc-01-00RC1) Bundle Manifest: Manifest-Version: 1.0 Export-Package: org.tempuri;uses:="org.apache.camel,org.apache.camel.p rocessor.aggregate" Built-By: lekkie T

Re: Request message accessibility/manipulation

2010-01-15 Thread Stephen Gargan
Can you give me some more info,such as the camel version and your osgi container and version. The bundle manifest might not hurt either. On Fri, Jan 15, 2010 at 10:01 AM, lekkie wrote: > > See attached trace, thanks. > > org.springframework.beans.factory.BeanCreationException: Error creating bea

Re: Request message accessibility/manipulation

2010-01-15 Thread lekkie
See attached trace, thanks. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.bus.spring.BusApplicationListener' defined in OSGi resource[classpath:META-INF/cxf/cxf.xml|bnd.id=192|bnd.sym=kimono-processor-bundle]: Initialization of bean failed;

Re: Request message accessibility/manipulation

2010-01-15 Thread Stephen Gargan
Hmm, You probably do export it's package correctly in the manifest, though I know I've often forgotten to, is it correct? Could you post the exception trace so we can have a look? On Fri, Jan 15, 2010 at 6:46 AM, lekkie wrote: > > Thanks Stephen. > > I followed your sample snippet below. > > The

Re: Timer fails to resolve parameters

2010-01-15 Thread pmmerritt
I implemented the VFSPackageScanClassResolver as discussed http://codeandtell.wordpress.com/2009/03/03/apache-camel-jboss-5-spring/ Apache Camel JBoss 5 and plugged it in to the camel route and it is recognized by camel as is evident by the following log statements 2010-01-15 11:40:21,513 INFO

Re: Spring batch integration with camel

2010-01-15 Thread Charles Moulliard
Hi Christian, As we have the component camel-spring-integration, this new module will be called : camel-spring-batch What do you plan to do between camel and spring batch as camel could be improved to become also a batch solution ? Regards, Charles Moulliard Senior Enterprise Architect Apache C

Re: Spring batch integration with camel

2010-01-15 Thread Christian Mueller
Issue opened (https://issues.apache.org/activemq/browse/CAMEL-2367) and waiting for replies... :working: Christian -- View this message in context: http://old.nabble.com/Spring-batch-integration-with-camel-tp25285268p27179703.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Spring batch integration with camel

2010-01-15 Thread Claus Ibsen
On Fri, Jan 15, 2010 at 1:03 PM, Christian Mueller wrote: > > Hey, > > I would also like this contribution, because we use both frameworks. Any > news for that? Should we open an issue (new feature) for that? > We love contributions so feel free to create a ticket > Regards, > Christian > -- > V

Re: Find if an endpoint uri is supported

2010-01-15 Thread Claus Ibsen
On Fri, Jan 15, 2010 at 5:09 PM, Johan Haleby wrote: > > That won't help because hasEndpoint checks the full uri, not just the scheme. > A work-around would be to do something like "hasComponent(new > URI(endpointURI).getScheme())". Perhaps a method like > "isSupportedScheme(enpointURI)" should be

Re: Find if an endpoint uri is supported

2010-01-15 Thread Johan Haleby
That won't help because hasEndpoint checks the full uri, not just the scheme. A work-around would be to do something like "hasComponent(new URI(endpointURI).getScheme())". Perhaps a method like "isSupportedScheme(enpointURI)" should be added to the API that does this for you? /Johan Claus Ibse

Re: distributed deployment flow Camel (Route)

2010-01-15 Thread Claus Ibsen
On Fri, Jan 15, 2010 at 10:35 AM, titexe wrote: > > Hello, > > Do you plan in the new Camel versions of a module deployment flows in a > manner distributed? > I do not understand what you are asking. Camel is framework / kit. Its not a server or the likes. Its deployment agnostic which means it c

Re: Find if an endpoint uri is supported

2010-01-15 Thread Claus Ibsen
On Fri, Jan 15, 2010 at 4:09 PM, Claus Ibsen wrote: > Hi > > I think CamelContext have a list of registered endpoints you can peek in. > And I believe 2.1 or later have a hasEndpoint(uri) method. > On Fri, Jan 15, 2010 at 4:04 PM, Johan Haleby wrote: >> >> Hi, >> >> How can I find out if a URI

Re: Find if an endpoint uri is supported

2010-01-15 Thread Claus Ibsen
Hi I think CamelContext have a list of registered endpoints you can peek in. On Fri, Jan 15, 2010 at 4:04 PM, Johan Haleby wrote: > > Hi, > > How can I find out if a URI endpoint that I pass to a producer is a valid > endpoint (i.e. that a component has been registered to handle it)? E.g. how >

Find if an endpoint uri is supported

2010-01-15 Thread Johan Haleby
Hi, How can I find out if a URI endpoint that I pass to a producer is a valid endpoint (i.e. that a component has been registered to handle it)? E.g. how can find out if "jms:queue:myqueue" is a valid endpoint and "jsm:queue:myqueue" is not before I send it (if the JMS component has been register

Re: Request message accessibility/manipulation

2010-01-15 Thread lekkie
Thanks Stephen. I followed your sample snippet below. The wiretap was a success, however, I couldnt get through with the aggregator. It kept complaining class not found for my custom aggregator. See sample snippet below: http://camel.apache.org/schema/spring"; trace="true"> org.tempuri

Apache camel model JAXB / Jersey / OSGI (camel-web project)

2010-01-15 Thread Charles Moulliard
Hi, When using camel-web-console on OSGI platform I get this error : 14:52:37,415 | ERROR | 11446...@qtp1-0 | ContainerResponse| .spi.container.ContainerResponse 477 | Mapped exception to response: 500 (Internal Server Error) javax.ws.rs.WebApplicationException: javax.xml.bind.

Re: requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-15 Thread Claus Ibsen
On Fri, Jan 15, 2010 at 2:41 PM, huntc wrote: > > Hi there, > > Is the following code valid... my goal is to ensure that the MINA connection > I'm using is closed upon having received a reply: > >  Object replyMessage = producerTemplate >      .requestBodyAndHeader( >          smsSenderEndpoint, >

requestBodyAndHeader and HEADER_CLOSE_SESSION_WHEN_COMPLETE

2010-01-15 Thread huntc
Hi there, Is the following code valid... my goal is to ensure that the MINA connection I'm using is closed upon having received a reply: Object replyMessage = producerTemplate .requestBodyAndHeader( smsSenderEndpoint, requestMessage, MinaConsumer.HEADER_CLOS

Re: Spring batch integration with camel

2010-01-15 Thread Christian Mueller
Hey, I would also like this contribution, because we use both frameworks. Any news for that? Should we open an issue (new feature) for that? Regards, Christian -- View this message in context: http://old.nabble.com/Spring-batch-integration-with-camel-tp25285268p27174835.html Sent from the Came

Re: Tight Integration with CEP (Complex Event Processing)

2010-01-15 Thread verlsnake
I'm currently not familiar with Apache Camel; what I would like to do is: - Doing Complex Event Processing upon transient AND historic data - With data routed to the CEP Engine (of choice) by Camel - And result data handed back by the CEP Engine to Camel for consumption of all kinds Camel has to o

distributed deployment flow Camel (Route)

2010-01-15 Thread titexe
Hello, Do you plan in the new Camel versions of a module deployment flows in a manner distributed? or a way to make packages that facilitate the deployment of flows? I think it's the most effective way for decentralized architectures. Thank you in advance Best regards, titexe -- View this m

Re: Keep the lastModified timestamp when writing a file.

2010-01-15 Thread Claus Ibsen
On Thu, Jan 14, 2010 at 12:47 PM, sjmcduf wrote: > > > > Here > https://issues.apache.org/activemq/browse/CAMEL-2361 > > Thank you I have committed this new feature. You are welcome to test it with a 2.2-SNAPSHOT or wait for the 2.2 release. http://camel.apache.org/download.html > > Simon > > >