Interface JmsMatsTransactionManager.JmsMatsTxContextKey

Enclosing interface:
JmsMatsTransactionManager

public static interface JmsMatsTransactionManager.JmsMatsTxContextKey
Provided to getTransactionContext(...) when a Mats-component fetches the TransactionContext implementation.

This interface is implemented both by StageProcessors (in which case getStage() returns itself), and by Initiators (in which case getStage() returns null).

  • Method Details

    • getStage

      JmsMatsStage<?,?,?,?> getStage()
      Returns:
      "this" if this is a StageProcessor, null if an Initiator.
    • getFactory

      JmsMatsFactory<?> getFactory()
      Returns:
      the JmsMatsFactory of the StageProcessor or Initiator (never null).