com.atomikos.jms
Interface HeuristicTopicPublisher

All Superinterfaces:
javax.jms.MessageProducer, javax.jms.TopicPublisher

public interface HeuristicTopicPublisher
extends javax.jms.TopicPublisher

A topic publisher that supports heuristic log information about the nature of indoubt XA sends. This allows the administration at an application-level: any indoubt messages can be easily identified in the log, and their application-level impact is clear. All topic publishers that you create via the Atomikos ConnectionFactory classes are of this type. The functionality can be accessed by type-casting.

Topic functionality in this product was sponsored by Webtide.


Method Summary
 void publish(javax.jms.Message msg, HeuristicMessage hmsg)
          Send a message with given heuristic info.
 void publish(javax.jms.Message msg, int deliveryMode, int priority, long timeToLive, HeuristicMessage hmsg)
          Send a message with given heuristic info.
 void publish(javax.jms.Message msg, int deliveryMode, int priority, long timeToLive, String hmsg)
          Send a message with given heuristic info.
 void publish(javax.jms.Message msg, String hmsg)
          Send a message with given heuristic info.
 void publish(javax.jms.Topic t, javax.jms.Message msg, HeuristicMessage hmsg)
          Send a message on a topic with given heuristic info.
 void publish(javax.jms.Topic t, javax.jms.Message msg, int deliveryMode, int priority, long timeToLive, HeuristicMessage hmsg)
          Send a message on a topic with given heuristic info.
 void publish(javax.jms.Topic t, javax.jms.Message msg, int deliveryMode, int priority, long timeToLive, String hmsg)
          Send a message on a topic with given heuristic info.
 void publish(javax.jms.Topic t, javax.jms.Message msg, String hmsg)
          Send a message on a topic with given heuristic info.
 
Methods inherited from interface javax.jms.TopicPublisher
getTopic, publish, publish, publish, publish
 
Methods inherited from interface javax.jms.MessageProducer
close, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, send, send, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive
 

Method Detail

publish

void publish(javax.jms.Message msg,
             HeuristicMessage hmsg)
             throws javax.jms.JMSException
Send a message with given heuristic info.

Parameters:
msg - The message to send.
HeuristicMessage - The log info message for this send operation. This information will be shown in case of heuristic problems.
Throws:
javax.jms.JMSException

publish

void publish(javax.jms.Message msg,
             int deliveryMode,
             int priority,
             long timeToLive,
             HeuristicMessage hmsg)
             throws javax.jms.JMSException
Send a message with given heuristic info.

Parameters:
msg - The message to send.
deliveryMode - The JMS delivery mode.
priority - The JMS priority.
timeToLive - The JMS time to live.
HeuristicMessage - The log info message for this send operation. This information will be shown in case of heuristic problems.
Throws:
javax.jms.JMSException

publish

void publish(javax.jms.Topic t,
             javax.jms.Message msg,
             HeuristicMessage hmsg)
             throws javax.jms.JMSException
Send a message on a topic with given heuristic info.

Parameters:
t - The topic to send to.
msg - The message to send.
HeuristicMessage - The log info message for this send operation. This information will be shown in case of heuristic problems.
Throws:
javax.jms.JMSException

publish

void publish(javax.jms.Topic t,
             javax.jms.Message msg,
             int deliveryMode,
             int priority,
             long timeToLive,
             HeuristicMessage hmsg)
             throws javax.jms.JMSException
Send a message on a topic with given heuristic info.

Parameters:
t - The topic to send to.
msg - The message to send.
deliveryMode - The JMS delivery mode.
priority - The JMS priority.
timeToLive - The JMS time to live.
HeuristicMessage - The log info message for this send operation. This information will be shown in case of heuristic problems.
Throws:
javax.jms.JMSException

publish

void publish(javax.jms.Message msg,
             String hmsg)
             throws javax.jms.JMSException
Send a message with given heuristic info.

Parameters:
msg - The message to send.
HeuristicMessage - The log info message for this send operation. This information will be shown in case of heuristic problems.
Throws:
javax.jms.JMSException

publish

void publish(javax.jms.Message msg,
             int deliveryMode,
             int priority,
             long timeToLive,
             String hmsg)
             throws javax.jms.JMSException
Send a message with given heuristic info.

Parameters:
msg - The message to send.
deliveryMode - The JMS delivery mode.
priority - The JMS priority.
timeToLive - The JMS time to live.
HeuristicMessage - The log info message for this send operation. This information will be shown in case of heuristic problems.
Throws:
javax.jms.JMSException

publish

void publish(javax.jms.Topic t,
             javax.jms.Message msg,
             String hmsg)
             throws javax.jms.JMSException
Send a message on a topic with given heuristic info.

Parameters:
t - The topic to send to.
msg - The message to send.
HeuristicMessage - The log info message for this send operation. This information will be shown in case of heuristic problems.
Throws:
javax.jms.JMSException

publish

void publish(javax.jms.Topic t,
             javax.jms.Message msg,
             int deliveryMode,
             int priority,
             long timeToLive,
             String hmsg)
             throws javax.jms.JMSException
Send a message on a topic with given heuristic info.

Parameters:
t - The topic to send to.
msg - The message to send.
deliveryMode - The JMS delivery mode.
priority - The JMS priority.
timeToLive - The JMS time to live.
HeuristicMessage - The log info message for this send operation. This information will be shown in case of heuristic problems.
Throws:
javax.jms.JMSException


Copyright © 2011. All Rights Reserved.