Re: CXFRS consumers - is there a better way?

2010-09-10 Thread huntc
Hi Willem, Thanks for the response. I've now raised a JIRA at https://issues.apache.org/activemq/browse/CAMEL-3117 https://issues.apache.org/activemq/browse/CAMEL-3117 . Kind regards, Christopher -- View this message in context: http://camel.465427.n5.nabble.com/CXFRS-consumers-is-there-a-bet

Re: CXFRS consumers - is there a better way?

2010-09-10 Thread Willem.Jiang
Current cxfbeans doesn't support to configure the provider as you do in the cxf:rsServer. I think we can introduce some kind of spring configuration to it. Please feel free to create a JIRA for it. -- View this message in context: http://camel.465427.n5.nabble.com/CXFRS-consumers-is-there-a-bett

Re: CXFRS consumers - is there a better way?

2010-09-10 Thread huntc
OK, previously I specified a provider in the providers element of a cxf:rsServer element. How do I now specify a provider when using cxfbean? This is what I had when using cxfrs:

Re: CXFRS consumers - is there a better way?

2010-09-10 Thread huntc
Gosh, how did I miss that... I've now updated the non-bean CXF pages of the Wiki to emphasise the benefits of using the bean component with a short note at the top of each page. -- View this message in context: http://camel.465427.n5.nabble.com/CXFRS-consumers-is-there-a-better-way-tp2834502p283

Re: aggregation from single vs multiple original exchanges

2010-09-10 Thread Christian Müller
Hello Lorrin! Claus explain this in his book Camel in Action ( http://www.manning.com/ibsen/). The source code is available at google code. You should have a look in the following examples: http://code.google.com/p/camelinaction/source/browse/#svn/trunk/chapter8/aggregator/src/test/java/camelinact

Re: camel-bean-validator and hibernate-validator for OSGi

2010-09-10 Thread Christian Müller
Hello Bengt, we use the following on [1]. I think we could also update to 4.1.0. I opened a JIRA for it [2]. Hope this helps, Christian [1] http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-validator/4.0.2.GA/hibernate-validator-4.0.2.GA.jar [2] https://issues.apach

camel-bean-validator and hibernate-validator for OSGi

2010-09-10 Thread Bengt Rodehav
I''m experimenting with the Java Bean Validation API (JSR 303). I'm not currently doing it with Camel but thought I might ask for help here anyway. I'm deploying in an OSGi context and need OSGi bundles for both the API (java.validation) and Hibernate's reference implementation (preferably the lat

aggregation from single vs multiple original exchanges

2010-09-10 Thread Lorrin Nelson
When using .split and .aggregate, what determines whether the aggregation is performed across the messages that were split out from a single original exchange vs. across messages that might have come from multiple original exchanges? I think the examples at http://camel.apache.org/splitter.html

Re: JAXB Unmarshalling - DataFormat error ... suggestions?

2010-09-10 Thread Christian Müller
Hello dresden! (Sounds lucky for me, because I was born in Dresden... :o) ) Claus has explained this in his book Camel in action ( http://www.manning.com/ibsen/). I think you need a copy... :-) The source code is available at google code and I think you should follow the following links: http://

Re: Odd route start behavior after context is started

2010-09-10 Thread GSegel
http://camel.465427.n5.nabble.com/file/n2835470/Simple_Route_Test.jpg Sorry for the bad diagram but I just wanted to convey the configuration. The route that takes data from the SEDA Queue on the left and sends to the SEDA Queue on the right isn't necessary but I wanted to simulate one of the r

Odd route start behavior after context is started

2010-09-10 Thread GSegel
I'm seeing an issue when starting routes (pulling from a multiple-consumer SEDA Queue) after the context has been started. After the 3rd route is started, the 3rd route does not receive most of the data while the other two routes receive all the data. Am I doing the wrong thing by adding routes

Re: JAXB Unmarshalling - DataFormat error ... suggestions?

2010-09-10 Thread dresden
Hello, I am using maven and this are the dependencies: org.apache.camel camel-spring 2.4.0 org.apache.camel camel-jms

Recommended approach to publish XML to JMS messages from Java??

2010-09-10 Thread dresden
Hi all, I have an application that needs to publish event XML messages onto Active MQ. I am looking for the suggested pattern for this. I would like certain pieces of code inside my application to be able to: 1. create a new "Event" object (pojo) and populate with data 2. send this object to an

Problem with protobuf example / Spring DSL to unmarshal to protobuf

2010-09-10 Thread Marcel Jager
Hi, I'm using Camel 2.4 and trying to follow the examples on http://camel.apache.org/protobuf.html. I have a serious problem with the Spring DSL example. http://camel.apache.org/schema/spring";> When running the example the programs says the XML-document is inv

to:Dataset???

2010-09-10 Thread rgauny
Hi Guys, is there a way to set a camel route up to record into a DataSet for playback later. I would like to record a day of production traffic from our tibco topic and use that dataset for a load test in our performance lab also want to use for other types of regression tests etc I'm assuming

Re: Need help converting a Spring queue definition to a Camel endpoint

2010-09-10 Thread Mond Raymond
I have this all working nice now: In the Camel Spring context file: http://camel.apache.org/schema/spring";> In the Jetty configuration file: http://jetty.mortbay.org/configure.dtd";> org.mortbay.jetty.webapp.WebInfConfiguration

Re: Some camel questions?

2010-09-10 Thread mpogra
It is still now working and throwing same exception. I think xpath is still valid with namespace prefix as my xml have it. -- View this message in context: http://camel.465427.n5.nabble.com/Some-camel-questions-tp2806185p2834859.html Sent from the Camel - Users mailing list archive at Nabble

Re: ConsumerTemplate not finishing?

2010-09-10 Thread Andreas A.
I was a bit to quick to ask that question. I solved it by using .receive instead of .receiveBody and hence an Exchange is created from which I can get the filename. -- View this message in context: http://camel.465427.n5.nabble.com/ConsumerTemplate-not-finishing-tp2642233p2834792.html Sent from

Re: ConsumerTemplate not finishing?

2010-09-10 Thread Andreas Asmuss
Hi Ah yes of course. This works, however I would like to keep the original filename of the file that I am enriching with. This is of course lost if I just load the contents as a String. Any ideas? -- View this message in context: http://camel.465427.n5.nabble.com/ConsumerTemplate-not-finishing-

Re: Using the SOAP DataFormat with JMS queues

2010-09-10 Thread Willem Jiang
On 9/10/10 4:30 PM, Christian Schneider wrote: Hi Glen, I think we can leave the wiki page this way. But honestly I do not understand why it makes a difference if someone is listening. The idea behind messaging is that you decouple the Client and the Server. So I think there is no difference bet

Re: Using the SOAP DataFormat with JMS queues

2010-09-10 Thread Christian Schneider
Hi Glen, I think we can leave the wiki page this way. But honestly I do not understand why it makes a difference if someone is listening. The idea behind messaging is that you decouple the Client and the Server. So I think there is no difference between sending a message and making a call.

Re: JAXB Unmarshalling - DataFormat error ... suggestions?

2010-09-10 Thread Christian Müller
Do you have camel-jaxb in your classpath? Which version of camel do you use? Cheers, Christian Am 08.09.2010 22:23 schrieb "dresden" : I am trying to get basic unmarshalling to work. The samples show this (and I am trying it verbatim, but changed the package ref), but I get the following error.

Re: CXFRS and concurrency

2010-09-10 Thread Willem Jiang
You just need to put the httpj configure into the same configure file with your rsServer, it will be wired with CXF bus automatically. Willem On 9/10/10 10:47 AM, huntc wrote: Thanks again Willem. OK, nearly there... how does the rsServer configuration in my Spring XML relate to the httpj co

Re: CXFRS consumers - is there a better way?

2010-09-10 Thread Willem Jiang
Hi, You can take a look at cxfbeans[1], it does the exact thing that you want to do. http://camel.apache.org/cxf-bean-component.html Willem On 9/10/10 12:30 PM, huntc wrote: Hi there, I've been using the Camel CXFRS component and I have to say that I've found the learning curve steep. Per