There are several ways to do that.
The first one is to create a very simple wsdl:
<definition ...>
<portType name="JMSServiceInterface" />
</definition>
and associate it with the endpoint with the wsdlResource=""xxx" attribute.
The other one, which should be already done if you use the maven plugin,
is to create a jbi.xml descriptor file for your SU, and define the
interface name for the endpoint.
On 12/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello,
In SM 3.1
i have worked with a Jms Component, but with my config
<beans ... >
<jms:endpoint service="msp:jmsSender2"
endpoint="MSPJmsSender"
interfaceName="mspjms:JMSServiceInterface"
role="provider"
destinationStyle="queue"
jmsProviderDestinationName="queue/A"
connectionFactory="#jmsFactory" />
</beans>
i can't register the interfaceName, and my bpel engine
can't call my JMS provider.
Please, what's wrong why this config.
FYI: i would like the save behavoir than this
LW-config.
<sm:activationSpec componentName="MSPJmsSender"
service="msp:jmsSender"
interfaceName="mspjms:JMSServiceInterface">
<sm:component>
<bean
class="org.apache.servicemix.components.jms.JmsSenderComponent">
<property name="template">
<bean
class="org.springframework.jms.core.JmsTemplate">
<property name="connectionFactory"><ref
local="jmsFactory"/></property> <property
name="defaultDestinationName"
value="fr.gouv.msp.jms.queue"/>
<property name="pubSubDomain" value="true"/> </bean>
</property>
</bean>
</sm:component>
</sm:activationSpec>
by advance, thanks
GAA
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
--
Cheers,
Guillaume Nodet