Re: CXF Guidance

2009-03-26 Thread Willem Jiang
Here are the examples[1][2] about consuming the CXF service request in Camel. [1]http://camel.apache.org/tutorial-example-reportincident-part5.html [2]http://cwiki.apache.org/CAMEL/loan-broker-example.html#LoanBrokerExample-Implementationwithwebservice Willem ychawla wrote: > Hi Willem, > Thanks

Re: CXF Guidance

2009-03-26 Thread ychawla
Hi Willem, Thanks for the response. Fortunately the web service only drops off a message and returns a unique message id to the invoker. This can be viewed as a synchronous request / response cycle. In parallel with sending the user this confirmation, the message is multicast into the workflow

Re: CXF Guidance

2009-03-26 Thread Willem Jiang
Hi, Maybe you should take a look at the LoanBroker example[1] of Camel. There are two versions of Loan Service which look like your application. It is not easy to adapter an asynchronized JMS message system with the Request/Response WebService message model effectively. Maybe you need to do some

CXF Guidance

2009-03-26 Thread ychawla
Hello Fellow Camel Riders, I have an application that is using camel for routing and it working quite nicely. There are two allowed input paths for a message, one is a web service and the other is direct file system access. When a user drops a file onto the file system, it is processed by the

Re: Camel 2.0 - Multicast issue ??

2009-03-26 Thread Willem Jiang
Hi Charles, If you used the multicast for the InOut Message, Camel will try to aggregate the exchange for the out message processing and the default aggregation strategy is using the last exchange. You need to adjust the multicast endpoints in your Spring configuration file, and put the "direct:f

Re: Routing keeping originalMessageId

2009-03-26 Thread N.D.
> > This is a JMS spec thing; not something Camel can fix. > > A JMS provider creates the JMSMessageId to be unique for a given JMS > provider. Camel doesn't set this header, nor can it. > http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html#setJMSMessageID(java.lang.String) > > The m

Re: Camel 2.0 - Multicast issue ??

2009-03-26 Thread cmoulliard
To solve the error returned and as proposed by Claus, I have modified my route like this Nevertheless, the multicast does not work as we can in the log here : 17:38:34,250 | INFO | 25328...@qtp2-0 | TraceInterceptor | rg.apache.camel.processor.Logger 88 | ID-dell-charles-1

Camel 2.0 - Multicast issue ??

2009-03-26 Thread cmoulliard
Hi, I have defined the following routes in camel : webservice

Re: Is security support planned (JAAS, ACEGI, ...)

2009-03-26 Thread Pawel Jasinski
hi, i have put together a simple consumer, camel (acting as intermediary) and provider. CXF+WSS4J provide the basis. Identity is delivered with SAML and extracted into exchange (available to camel components). On the todo list, is to put together authorization based on PERMIS. In principle: servic

Re: Deploying same camelContext.xml in and out of OSGi

2009-03-26 Thread James Strachan
2009/3/26 Willem Jiang : > Adding a Bundle-Activator into the camel-spring module  will introduce the > dependency of OSGi jars into camel-spring. > I'm wandering if we could do some thing on the camel-osgi module's > Bundle-Activator to override the camel-spring's Spring handler? Yeah -could we j

Re: Deploying same camelContext.xml in and out of OSGi

2009-03-26 Thread Willem Jiang
Adding a Bundle-Activator into the camel-spring module will introduce the dependency of OSGi jars into camel-spring. I'm wandering if we could do some thing on the camel-osgi module's Bundle-Activator to override the camel-spring's Spring handler? Willem On Thu, Mar 26, 2009 at 5:14 PM, Gert V

Re: Apache Camel and Twitter

2009-03-26 Thread Bruno Borges
Thanks a lot Claus. I know Camel since last ApacheCon in New Orleans where I had the great opportunity to talk with Bruce and attend his sessions about Camel and SMX. Since then I'm going deeper each day into Apache projects, specially those related to SMX, like ActiveMQ, CXF and Camel. The other

Re: Apache Camel and Twitter

2009-03-26 Thread Claus Ibsen
On Thu, Mar 26, 2009 at 10:26 AM, Bruno Borges wrote: > I've written an article about integrating Twitter within Apache Camel. > > If anyone is interested, you can read it through this URL: > > http://blog.brunoborges.com.br/2009/03/leverage-eip-with-apache-camel-and.html > > The article is writte

Apache Camel and Twitter

2009-03-26 Thread Bruno Borges
I've written an article about integrating Twitter within Apache Camel. If anyone is interested, you can read it through this URL: http://blog.brunoborges.com.br/2009/03/leverage-eip-with-apache-camel-and.html The article is written in English this time. Cheers, Bruno Borges blog.brunoborges.com

Re: Deploying same camelContext.xml in and out of OSGi

2009-03-26 Thread James Strachan
Sounds like a good idea - assuming that the bundle activator kicks in before Spring DM processes the XML? 2009/3/26 Gert Vanthienen : > Willem, > > Would adding a Bundle-Activator to our jars help?  The activator would > only be called upon in an OSGi environment so it could take of putting > in p

Re: Deploying same camelContext.xml in and out of OSGi

2009-03-26 Thread Gert Vanthienen
Willem, Would adding a Bundle-Activator to our jars help? The activator would only be called upon in an OSGi environment so it could take of putting in place everything that's necessary for OSGi without the need for anyone to change the configuration in the XML files. Regards, Gert Vanthienen -

ActiveMQ - Camel - Servicemix 4 (pooledConnectionFactory) ?

2009-03-26 Thread cmoulliard
Hi, I have the following question : Under Servicemix4, a spring XML file exists to configure activeMq (activemq-broker.xml) as a broker. To use it, you have to put this file in the deploy directory of ServiceMix 4 and SMX will automatically deploy it as a osgi bundle. The bundle exports as an O

Re: Deploying same camelContext.xml in and out of OSGi

2009-03-26 Thread Willem Jiang
Hi, Yes, in servicemix-camel component, we can use the Spring namespace for OSGi and non-OSGi environment. That is because ServiceMix take charge of the Camel Spring handler itself, and the Spring handler of camel-spring will detect the CamelContextFactoryBean of OSGi (in the camel-osgi bundle) by