
.cxf.transport.reliablejms.examples-ejb_mdb-modules-server-endpoint.0.1.source-code.cxf-mdbendpoint.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - JOnAS: Java(TM) Open Application Server - Copyright (C) 2010 France Telecom R&D - Contact: [email protected] - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - USA - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $Id: cxf-mdbendpoint.xml 21434 2011-06-15 09:27:49Z jppouzol $ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> <!-- Queue name used by the MDB --> <bean id="mdbQueueJndiName" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="endpointQueue" /> </bean> <!-- Target Connection factory used to send the message --> <bean id="targetConnectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="QCF" /> </bean> <jaxws:endpoint id="endpointGreeterTest" implementor="org.ow2.jonas.cxf.transport.reliablejms.example.ejbmdb.GreeterJMSImpl" wsdlLocation="wsdl/greeter.wsdl" address="reliablejms://?mode=endpoint"> </jaxws:endpoint> <!-- Configuration for the endpoint --> <bean name="{http://cxf.apache.org/jms_greeter}GreeterPort.reliablejms.endpoint-configuration" class="org.ow2.jonas.cxf.transport.reliablejms.server.endpoint.MDBEndpointConfiguration" abstract="true"> <property name="queue" ref="mdbQueueJndiName"/> <property name="connectionFactory" ref="targetConnectionFactory"/> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy