something about embedded servicemix configuration:
the "basic" example has a structure like this:
<beans... >
<sm:container ...>
<sm:activationSpecs>
<sm:activationSpec componentName="inputSender">
<sm:component>
<jms:component>
<jms:endpoints>
<jms:endpoint service="my:inputSender"
endpoint="endpoint"
role="provider"
connectionFactory="#jmsFactory"
jmsProviderDestinationName="servicemix.source"
destinationStyle="topic" />
</jms:endpoints>
</jms:component>
</sm:component>
</sm:activationSpec>
while in the page about embedding the structure is slightly different:
<beans ...>
<sm:container ...>
<sm:endpoints>
<jsr181:endpoint
pojoClass="org.apache.servicemix.itests.beans.Echo"
service="test:Hello"
endpoint="testService" />
can you explain me which are the differences?
HTe documentation says:
Starting from ServiceMix 3.2, an easier configuration of components and
endpoints can be used.
Is the first configuration old all the parts like:
<sm:activationSpecs>
<sm:activationSpec componentName="inputSender">
<sm:component>
<jms:component>
are still necessary? What's the meaning of the part configured with the
<activationSpecs>?
thank you
--
View this message in context:
http://www.nabble.com/embedded-service-mix-tp21558350p21558350.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.