2

I have a process that starts with a topic subscriber. What happens with a topic subscriber in Tibco if the EMS server shuts down?

I guess it will reconnect. But how many times or for how long it will try to reconnect?

Adrian Ber
  • 20,474
  • 12
  • 67
  • 117

2 Answers2

4

The behaviour depends on various settings, set either on the client or server.

If you for example use a Java client you can set the behaviour through the connection factory:

TibjmsConnectionFactory.setReconnAttemptCount(10); TibjmsConnectionFactory.setReconnAttemptDelay(1000); TibjmsConnectionFactory.setReconnAttemptTimeout(1000);

You also can configure this behaviors on the server by using JNDI connections. Those can be defined through the factories.conf file.

BusinessWorks 5 does not reconnect by default, but honors all JNDI propagated settings.

jens walter
  • 13,269
  • 2
  • 56
  • 54
  • I'm using BW5 as the client and the server is EMS. So it will reconnect based on these settings. Do you know what are the default values? – Adrian Ber Jan 17 '17 at 17:15
  • By default, BW5 does not set any reconnect behavior, so it looses the connection on disconnect. In EMS this can be set by JNDI, but this is also not set by default. – jens walter Jan 17 '17 at 17:22
0

It will try to connect indefinitely.

KNR
  • 1
  • 1