0

I am using Storm JMS Spout to connect to TibcoEMS and it works great.

We are having problem with making the Storm Spout to automatically reconnect when there is a failover in TIBCO EMS Server.

Is this possible in Storm to automatically reconnect to jmsURL?

We are not enabling the heartbeats and Tibco EMS is using Veritas failover and not the EMS failover.

How can we configure that in SpringJMS Application Context for Spout ????

RAJESH
  • 404
  • 6
  • 18
  • i am trying to create spout to connect to TIBCOEMS Topic. not able to connect to topic.can u tell me how u wrote JMSspout? – yoga Aug 02 '16 at 15:43
  • SpringJmsProvider jmsTopicQueueProvider = new SpringJmsProvider(TopicAppContextResource, "connectionFactory", "destination"); – RAJESH Aug 02 '16 at 18:30
  • TridentJmsSpout TridentTopicSpout = new TridentJmsSpout(); TridentTopicSpout.withJmsProvider(jmsTopicQueueProvider); // TridentSpout.withJmsAcknowledgeMode(javax.jms.Session.CLIENT_ACKNOWLEDGE); TridentTopicSpout.withTupleProducer(new TradeJMSTuplePropducer()); – RAJESH Aug 02 '16 at 18:30
  • tcp://fgbnlkd.kjdbfvljbg.local:8334 org.apache.activemq.jndi com.tibco.tibjms.naming.TibjmsInitialContextFactory – RAJESH Aug 02 '16 at 18:35
  • BebDataQueueConnectionFactory – RAJESH Aug 02 '16 at 18:35
  • DMY.NetAsset – RAJESH Aug 02 '16 at 18:35
  • thank you rajesh. I am not using spring here.Below is the code i am trying this.connectionFactory = new TibjmsQueueConnectionFactory(server_url); Connection _connection = connectionFactory.createConnection("", ""); Session session = _connection.createSession(false, javax.jms.Session.AUTO_ACKNOWLEDGE); Queue receiverQueue = session.createQueue(queue_name); this.destination = (Destination) receiverQueue ; – yoga Aug 02 '16 at 18:36

0 Answers0