Class Producer
java.lang.Object
com.swiftmq.impl.jms.standard.v750.Producer
- All Implemented Interfaces:
TransactionFactory
- Direct Known Subclasses:
QueueProducer
,TopicProducer
-
Field Summary
Modifier and TypeFieldDescriptionprotected SessionContext
protected boolean
protected QueueSender
protected QueuePushTransaction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
QueueTransaction
QueuePushTransaction
boolean
void
protected void
setQueueSender
(QueueSender sender)
-
Field Details
-
ctx
-
sender
protected QueueSender sender -
transaction
protected QueuePushTransaction transaction -
markedForClose
protected boolean markedForClose
-
-
Constructor Details
-
Producer
-
-
Method Details
-
setQueueSender
protected void setQueueSender(QueueSender sender) -
createTransaction
- Specified by:
createTransaction
in interfaceTransactionFactory
- Throws:
Exception
-
getTransaction
public QueuePushTransaction getTransaction() -
markForClose
public void markForClose()- Specified by:
markForClose
in interfaceTransactionFactory
-
isMarkedForClose
public boolean isMarkedForClose()- Specified by:
isMarkedForClose
in interfaceTransactionFactory
-
close
- Throws:
Exception
-