TIBCO EMS Service Delivery Modes

The JMS API supports two delivery modes for messages to specify whether messages are lost if the JMS provider fails. These delivery modes are fields of the the DeleveryMode interface.

 

The PERSISTENT delivery mode, which is the default, instructs the JMS provider to take extra care to ensure that a  message is not lost in transit in case of a JMS provider failure. A message sent with this delivery mode is logged to stable storage when it is sent.

 

The NON-PERSISTENT delivery mode does not require the JMS provider to store the message or otherwise guarantee that it is not lost if the provider fails.

 

After a producing client sends a message to the Java Message Service, the service preserves the message until it has been delivered using  a standard strategy, or a non-standard TIBCO EMS strategy:

 

These strategies are called Delivery Modes in JMS.PERSISTENT.

 

failsafe   The message is first written to the external store using unbuffered I/O, and after the write completes, the message is acknowledged to the producing client. This results in increased reliability in the case of a JMS failure, but at the cost of low throughput, since acknowledgements are delayed by the disk write.

 

Tibjms.RELIABLE_DELIVERY    This non-standard strategy conpletely avoids acknowledgements,results in potentially increased throughput, but without the possibility of reporting service trouble to the producing client, via an acknowledgement.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值