Re: Testing using Pax Exam

2010-07-09 Thread Muhammad Ichsan
On Fri, Jul 9, 2010 at 7:48 PM, Willem Jiang wrote: > Hi, > > Can you try to put the file into the WorkingDirectory of your Pax Exam? > You can set this option from the static "configure" method. I did set working directory as http://fusesource.com/docs/esb/4.2/deploy_osgi/BestPractices-PaxExam.h

Re: Camel 2.3.0 & Spring 3.0.3

2010-07-09 Thread Willem Jiang
Hi, Thanks for sharing this solution with us. FYI, we just changed the spring default version to Spring 3.0.3 for the Camel 2.4.0-SNAPSHOT, please feel free to try it out. In this way you don't need to write a bunch of . Willem -- Apache Camel, Apache CXF commit

Camel 2.3.0 & Spring 3.0.3

2010-07-09 Thread Glebow, Philip
I had some difficulty getting Camel 2.3.0 and Spring 3.0.3 to work together when deploying as a WAR file built by Maven. I've resolved the problem and wanted to share the solution with the group: * When deploying as a WAR file under Tomcat, I received several different error messages. For

Re: [CxfBinding] Document Style ?

2010-07-09 Thread Olivier Roger
My bad I confused the different modes. I will try that I get back to you. It there a possibility not to modify the SEI but the CXF Endpoint definition instead ? -- View this message in context: http://camel.465427.n5.nabble.com/CxfBinding-Document-Style-tp1045363p1045540.html Sent from the Cam

AW: Persistent Camel Context

2010-07-09 Thread Max Ullinger
Hi. Yes, I already use the Rest API to deploy the routes to begin with. On the client side there is a lot more to the project than I mentioned, so I was hoping that Camel can persist routes / changes to the Context by itself. Unfortunately I don't have as much time to add features to Camel as mu

Re: Persistent Camel Context

2010-07-09 Thread Claus Ibsen
On Fri, Jul 9, 2010 at 3:34 PM, Max Ullinger wrote: > Hi everybody. > > I was wondering if anybody has had experience with persistance for Camel > Context ? > > We use a (relatively) empty Camel Context (Camel-WEB) and the user > dynamically configures/deploys routes at runtime. > Of course when

Re: [CxfBinding] Document Style ?

2010-07-09 Thread Willem Jiang
Olivier Roger wrote: Here is what I get: http://schemas.xmlsoap.org/soap/envelope/";> http://www.mycompany.com/services";> http://www.mycompany.com/service/offer/proposal";> 1234

Re: Testing using Pax Exam

2010-07-09 Thread Willem Jiang
Hi, Can you try to put the file into the WorkingDirectory of your Pax Exam? You can set this option from the static "configure" method. Willem -- Apache Camel, Apache CXF committer Open SOA http://www.fusesource.com Blog http://willemjiang.blogspot.com Tiwtter htt

Testing using Pax Exam

2010-07-09 Thread Muhammad Ichsan
How to test my Camel application using Pax Exam? I need to test across bundles which requires Active MQ ("uri=activemq:blahblah") using OSGi. I tried to load the activemq-broker feature but failed. It needs /etc/active-broker.xml configuration. I don't know where to put the file and how. Sorry if

Re: [CxfBinding] Document Style ?

2010-07-09 Thread Olivier Roger
I was also expecting document to be the default value. For retro-compatibility reasons, I would like to keep the SEI unchanged, and try to fix the issue by tweeking the route is possible. Here is the SEI: @WebService(targetNamespace = "http://www.mycompany.com/services";) public interface Offer

Re: RecipientList (for multicast) --> senderList to read from several sources

2010-07-09 Thread Claus Ibsen
On Fri, Jul 9, 2010 at 11:39 AM, Willem Jiang wrote: > Can we change the from endpoints dynamically? > No of course not the endpoints is resolved when the route model is being build at startup. But you can at runtime stop the route consumer. Adjust the endpoint. And start the consumer again. Som

Re: RecipientList (for multicast) --> senderList to read from several sources

2010-07-09 Thread Willem Jiang
Can we change the from endpoints dynamically? Willem Claus Ibsen wrote: Hi On Fri, Jul 9, 2010 at 9:19 AM, Charles Moulliard wrote: Can we do that in spring DSL using by example a list of endpoints ? e.g. OR a should be created ? Cheers, -- View this messag

Re: [CxfBinding] Document Style ?

2010-07-09 Thread Willem.Jiang
Can I have a look at your SEI? I mean the "OfferService". Does it use JAXWS annotation ? If I remember right CXF will try to use the Document-Literal Wrapped by default. Willem -- Apache Camel, Apache CXF committer Open SOA http://www.fusesource.com Blog http://

Re: [CxfBinding] Document Style ?

2010-07-09 Thread Olivier Roger
Here is what I get: http://schemas.xmlsoap.org/soap/envelope/";> http://www.mycompany.com/services";> http://www.mycompany.com/service/offer/proposal";> 1234

[CxfBinding] Document Style ?

2010-07-09 Thread Olivier Roger
Hello Camel! I am currently experiencing a strange behaviour when calling web services from a Camel route. It seems like the syle it uses is RPC but the web service uses document. The documentation indicates that this value can be specified in the endpoint declaration by overriding the default c

Re: [CxfBinding] Document Style ?

2010-07-09 Thread Olivier Roger
What is intriguing is that the WSDL specify explicitly the style to document. ... http://schemas.xmlsoap.org/soap/http"/> ... I tested it successfully with SOAPUI. It detects it in document mode. -- View this message in context: http://camel.465427.n5.nabble.com/CxfBinding-Document-Style-t

Re: RecipientList (for multicast) --> senderList to read from several sources

2010-07-09 Thread Claus Ibsen
Hi On Fri, Jul 9, 2010 at 9:19 AM, Charles Moulliard wrote: > > Can we do that in spring DSL using by example a list of endpoints ? > > e.g. > > > > > > > > OR > > a should be created ? > > > > > > > > > Cheers, > > -- > View this message in context: > http://camel.4654

Re: RecipientList (for multicast) --> senderList to read from several sources

2010-07-09 Thread Charles Moulliard
Can we do that in spring DSL using by example a list of endpoints ? e.g. OR a should be created ? Cheers, -- View this message in context: http://camel.465427.n5.nabble.com/RecipientList-for-multicast-senderList-to-read-from-several-sources-tp1045326p1045333.html Sent from th

Re: RecipientList (for multicast) --> senderList to read from several sources

2010-07-09 Thread Claus Ibsen
On Fri, Jul 9, 2010 at 9:02 AM, Charles Moulliard wrote: > > Can we create dynamically the content of this uri list separated for the > from() ? Its just java code so you can do what the heck you want String[] dynamcUris = ... from(dynamicUris).to("bla"); > -- > View this message in context:

Re: RecipientList (for multicast) --> senderList to read from several sources

2010-07-09 Thread Charles Moulliard
Can we create dynamically the content of this uri list separated for the from() ? -- View this message in context: http://camel.465427.n5.nabble.com/RecipientList-for-multicast-senderList-to-read-from-several-sources-tp1045326p1045330.html Sent from the Camel - Users mailing list archive at Nabb