Hi
I could fix the problem myself: It seems that the jms:endpoint did not get a
reference to the JMS connection factory. I added an instance of
org.apache.activemq.ActiveMQConnectionFactory and referenced it with
connectionFactory="#connectionFactory". Than it works.
I am only wondering why there was no NullPointerException at an earlier
stage instead of just passing a null to toJMS(). This is not very robust.
<jms:endpoint service="proj:fileSender"
endpoint="endpoint"
role="provider"
destinationStyle="queue"
jmsProviderDestinationName="febs.inbox.newpolicies"
connectionFactory="#connectionFactory" />
<bean id="connectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="tcp://localhost:61616" />
</bean>
Martin
--
View this message in context:
http://old.nabble.com/Problem-forwarding-message-from-vsf-%28SFTP%29-to-JMS-%28ServiceMix-4.2%2C-servicemix-jms-2010.01%29-tp28772675p28773377.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.