Hi Geoff,
You could try something like this which is working for us:
<beans>
<!-- omitting the usual ActiveMQ connection factory config -->
<bean id="tibco" class="org.apache.camel.component.jms.JmsComponent">
<property name="connectionFactory">
<bean class="com.tibco.tibjms.TibjmsConnectionFactory">
<property name="serverUrl" value="${tibco.server.url}"/>
<property name="userName" value="${tibco.username}"/>
<property name="userPassword" value="${tibco.password}"/>
<!-- insert Tibco specific properties here -->
</bean>
</property>
</bean>
<camelContext>
<route>
<from uri="activemq:topic:foo"/>
<to uri="tibco:topic:bar"/>
</route>
</camelContext>
</beans>
Put the following entry (or similar) in your pom.xml file:
<dependency>
<groupId>com.tibco.ems</groupId>
<artifactId>tibjms</artifactId>
<version>5.0.0</version>
<scope>runtime</scope>
</dependency>
and the following jar on our classpath: tibjms-5.0.0.jar
HTH
Thanks,
Paul
On Thu, Oct 24, 2013 at 1:11 PM, Gershaw, Geoffrey A. (KFFC 223)
<[email protected]> wrote:
> Hi Camel Riders,
>
> Has anyone ever had to set Tibco or other implementation specific options for
> JMS on the publisher? I don't see any examples of how to do that on the web
> page. Specifically, I would like to do
> publisher.setDeliveryMode(com.tibco.tibjms.Tibjms.RELIABLE_DELIVERY)
>
> We use camel 2.11 and spring DSL. I guess I need to use a custom publisher
> instead of relying on default publisher in
>
> <to uri="jms:topic:{{pricecollision.topic}}?deliveryPersistent=false" />
>
> Thanks for your help
>
> Geoff
>
>
> ===============================================================================
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ===============================================================================
>