location of camel-context.xml file

2010-08-26 Thread Glen Mazza
Hello, for a Mavenized camel project, is there a difference between placing it directly under the resources folder compared to resources/META-INF/spring folder (in terms of convenience or default detection by the Camel runtime)? The Camel in Action book and Maven camel-archetype-java archetype

(newbie) process() method eating Exchange packet

2010-08-30 Thread Glen Mazza
Hello, the following route makes SOAP client calls and places the SOAP responses in files in the given testfile folder: public void configure() { from("jms:queue:numbersToDouble") .process(new SOAPMessagePreparer()) .to(CXF_URI) //.process(new SOAPResponseReader()) .to(

Re: (newbie) process() method eating Exchange packet

2010-08-30 Thread Glen Mazza
quot;) .process(new SOAPMessagePreparer()) .to(CXF_URI) .convertBodyTo(String.class) .process(new SOAPResponseReader()) .to("file://testfile"); Willem Glen Mazza wrote: Hello, the following route makes SOAP client calls and places the SOAP responses in files in the giv

Re: (newbie) process() method eating Exchange packet

2010-08-31 Thread Glen Mazza
t the body into a string after reading it, presumably because from("jms:queue:numbersToDouble") already converts it to something that can be read multiple times. Glen Willem Jiang wrote: Glen Mazza wrote: Thanks, Willem, but why would String response = e.getIn().getBody(String.clas

Sending POJOs on Message Queues?

2010-09-06 Thread Glen Mazza
Hello, I'm new to ActiveMQ messaging queues and unsure if I can place and subsequently read POJO's from them. I have no problems getting Strings to work it's just using POJO's that is creating the problem for me. Here's how I place a DoubleIt POJO on the queue in Camel: ProducerTempla

Re: Sending POJOs on Message Queues?

2010-09-06 Thread Glen Mazza
... setter and getter for above... } I can look into JSON and/or Protobuf next -- is it primarily speed, or ease-of-use (don't have to worry about making the class serializable), or smaller message size that you recommend those other formats? Thanks, Glen Tarjei Huse wrote: Hi, On 09/

Re: Sending POJOs on Message Queues?

2010-09-06 Thread Glen Mazza
Oh! I was thinking of sending the POJO to the queue where it would be subsequently read and marshalled into XML, but I can have the client-side marshal into XML and send the XML to the queue instead. Makes sense... Thanks again, Glen Tarjei Huse wrote: On 09/06/2010 02:35 PM, Glen Mazza

Re: Sending POJOs on Message Queues?

2010-09-06 Thread Glen Mazza
p://twitter.com/cmoulliard Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard On Mon, Sep 6, 2010 at 2:51 PM, Glen Mazza wrote: Oh! I was thinking of sending the POJO to the queue where it would be subsequently read and marshalled into XML, but I can have the client-sid

where to attach the JMS options

2010-09-06 Thread Glen Mazza
Hello, for the JMS Component, where do I place the options[1] (those settings after the "?") -- within the from("jms:FOO.BAR?options...") of the route or within the Template.sendBody("jms:FOO.BAR?options...") or both places or does it depend on the option I'm setting? For example, to add jmsMe

Re: AW: Sending POJOs on Message Queues?

2010-09-06 Thread Glen Mazza
: Dr. Bernhard Beck Geschäftsführer: Jochen Adenau, Hans-Günther Meier -Ursprüngliche Nachricht- Von: Glen Mazza [mailto:glen.ma...@gmail.com] Gesendet: Montag, 6. September 2010 16:15 An: users@camel.apache.org Betreff: Re: Sending POJOs on Message Queues? But, just to confirm, do I need to

Questions on the SOAP DataFormat

2010-09-08 Thread Glen Mazza
Hi, I have a couple of questions on the SOAP DataFormat[1]: 1.) The documentation says this DataFormat "provides the basic features of Apache CXF without need for the CXF Stack." Does that mean it internally uses the JAX-WS Reference Implementation which is in the JDK by default? 2.) The se

Using the SOAP DataFormat with JMS queues

2010-09-08 Thread Glen Mazza
Hello, another question on the SOAP DataFormat text. In the "Using the Java DSL" section[1], the example given is as follows: SoapJaxbDataFormat soap = new SoapJaxbDataFormat("com.example.customerservice", new ServiceInterfaceStrategy(CustomerService.class)); from("direct:start") .mar

Re: Questions on the SOAP DataFormat

2010-09-08 Thread Glen Mazza
I updated the docs, thanks. Willem Jiang wrote: On 9/9/10 8:00 AM, Glen Mazza wrote: Hi, I have a couple of questions on the SOAP DataFormat[1]: 1.) The documentation says this DataFormat "provides the basic features of Apache CXF without need for the CXF Stack." Does that mean it

Re: Using the SOAP DataFormat with JMS queues

2010-09-09 Thread Glen Mazza
dataformat. Regards Christian Am 09.09.2010 02:54, schrieb Glen Mazza: Hello, another question on the SOAP DataFormat text. In the "Using the Java DSL" section[1], the example given is as follows: SoapJaxbDataFormat soap = new SoapJaxbDataFormat("com.example.cus

Re: Using the SOAP DataFormat with JMS queues

2010-09-09 Thread Glen Mazza
sage that contains soap content is a one way soap call even if no one listens for it. As the call is asnychronous the caller will not know if anyone listens to the call anyway ;-) Regards Christian Am 09.09.2010 09:46, schrieb Glen Mazza: It is only a SOAP call if a web service is listening

Re: Configuring cxfEndpoint to make secure (HTTPS) : need help

2011-10-07 Thread Glen Mazza
to resolve this issue ASAP. Regards, Chavva. -- View this message in context: http://camel.465427.n5.nabble.com/Configuring-cxfEndpoint-to-make-secure-HTTPS-need-help-tp4879695p4879695.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Glen Mazza Talend - http://www.talend.com/apache Blog - http://www.jroller.com/gmazza Twitter - glenmazza

Problem running camel-example-cxf-osgi

2011-10-30 Thread Glen Mazza
| export: package=javax.xml.bind; uses:=javax.xml.bind.attachment export: package=javax.xml.bind.attachment org.apache.servicemix.specs.jaxb-api-2.2 [53.0] Any idea what the solution would be? Thanks, Glen -- Glen Mazza Talend - http://www.talend.com/apache Blog - http://www.jroller.com/gmazza/ Twitter - glenmazza

Re: Problem running camel-example-cxf-osgi

2011-10-31 Thread Glen Mazza
s updating. You need to edit the jre.properties and comment out a bunch of the javax.* things that are provided by the bundles. That would include javax.xml.bind*, javax.jws*, javax.xml.soap*, javax.xml.ws*, I think javax.mail, javax.activation. Dan On Sunday, October 30, 2011 7:10:21 PM Glen

Questions on Camel camel-example-cxf-osgi sample

2011-11-03 Thread Glen Mazza
ml for *test* cases has the full URL as above. Thanks, Glen [1] http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf-osgi/README.txt?annotate=1147432 -- Glen Mazza Talend - http://www.talend.com/apache Blog - http://www.jroller.com/gmazza/ Twitter - glenmazza

Re: Questions on Camel camel-example-cxf-osgi sample

2011-11-04 Thread Glen Mazza
I reinstalled Karaf, switched to Equinox, example works fine now. I submitted a patch to this example's README that was applied by Willem. Thanks, Glen On 11/03/2011 02:23 PM, Daniel Kulp wrote: On Thursday, November 03, 2011 2:03:15 PM Glen Mazza wrote: Hi all, two questions: 1.) Lin

Re: Basic cxf-tomcat-example.html: need explaination. 1M Thanks.

2011-11-06 Thread Glen Mazza
4969057p4969057.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Glen Mazza Talend - http://www.talend.com/apache Blog - http://www.jroller.com/gmazza/ Twitter - glenmazza

Re: Spring AMQP Apache Camel Component Released

2011-11-28 Thread Glen Mazza
qp. If you find the URI format to be a bit odd let me know - I'm open to new ideas on how to better format the endpoint string. Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Spring-AMQP-Apache-Camel-Component-Released-tp5027785p5027785.html Sent from the Came

Re: Blueprint bundle + plain Main class from the same project?

2011-11-29 Thread Glen Mazza
Document(DefaultDocumentLoader.java:75) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388) ... 23 more -- Glen Mazza Talend Community Coders http://coders.talend.com blog: http://www.jroller.com/gmazza

Re: error executing mvn exec:java

2012-02-07 Thread Glen Mazza
me a solution to solve it. It will very helpful to proceed -- View this message in context: http://camel.465427.n5.nabble.com/error-executing-mvn-exec-java-tp5463930p5463930.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Glen Mazza Talend Community Coders - coders.ta

Re: How to include additional data to soap header (WSSE,WSA) with camel-cxf

2012-02-13 Thread Glen Mazza
;META-INF/wsdl/report_incident.wsdl" serviceClass="org.apache.camel.example.reportincident.ReportIncidentEndpoint" > Could you tell me please if possible and how to to add that header in declarative manner or in programmatic manner Thanks for help --Filippo -- Glen Mazza Talend Community Coders - coders.talend.com blog: www.jroller.com/gmazza