Proposal for a new JMS configuration for CXF
Hi, after Glen´s Mail about my tutorial for setting up JMS for CXF with Apache Camel on the dev list there was a discussion about improvements for the JMS config for CXF. I have written a proposal how I think this could be done. My focus is only on the configuration syntax not the implementation but I think it can be done. Here is the link to the proposal. I would be very interested in your opinions about this style of configuration: http://www.liquid-reality.de/display/liquid/2008/08/30/Proposal+for+a+new+JMS+Transport+configuration+for+CXF Best regards Christian -- Christian Schneider --- http://www.liquid-reality.de
Re: Proposal for a new JMS configuration for CXF
Christian, I would take a look at the IBM document attached here: http://www.nabble.com/SOAP-JMS-binding-tool-changes-td19073747.html and the specification it links to: http://www.w3.org/Submission/SOAPJMS/ I'm unsure of the relation to these documents to what you're proposing, nor am I necessarily recommending we do what they do, but I'm mentioning this in case there is something important in these documents that you might have overlooked in your suggestions. Glen Christian Schneider wrote: > > Hi, > > after Glen´s Mail about my tutorial for setting up JMS for CXF with > Apache Camel on the dev list there was a discussion about improvements > for the JMS config for CXF. > I have written a proposal how I think this could be done. My focus is > only on the configuration syntax not the implementation but I think it > can be done. > Here is the link to the proposal. I would be very interested in your > opinions about this style of configuration: > > http://www.liquid-reality.de/display/liquid/2008/08/30/Proposal+for+a+new+JMS+Transport+configuration+for+CXF > > Best regards > > Christian > > -- > > Christian Schneider > --- > http://www.liquid-reality.de > > > -- View this message in context: http://www.nabble.com/Proposal-for-a-new-JMS-configuration-for-CXF-tp19234299p19238914.html Sent from the cxf-dev mailing list archive at Nabble.com.
Re: Proposal for a new JMS configuration for CXF
Hi Christian, +1 for introducing the Camel style URL for the JMS configuration. In Camel, you just need to specify the jms component's connection factory, then the JMS component can take care of the URL itself. In you proposal , we need to add a TransportConfig element for the endpoint which could contain the Transport specified configuration for the JMSConduit or JMSDestination. I think we could go further, as you know for the HttpJettyDestination , there need to do some configuration for JettyServerEngine which is also a transport level configuration. We could also set the URLConnection factory for the HttpConduit in this way. Since most current CXF configration are based on parser an XML to Java Object by JAXB and few Spring style bean class injection. If we introduce the TransportConfig element and lots of transport configuration could be changed. Maybe we can do this in CXF 3.0. Any thoughts? Willem Christian Schneider wrote: Hi, after Glen´s Mail about my tutorial for setting up JMS for CXF with Apache Camel on the dev list there was a discussion about improvements for the JMS config for CXF. I have written a proposal how I think this could be done. My focus is only on the configuration syntax not the implementation but I think it can be done. Here is the link to the proposal. I would be very interested in your opinions about this style of configuration: http://www.liquid-reality.de/display/liquid/2008/08/30/Proposal+for+a+new+JMS+Transport+configuration+for+CXF Best regards Christian