org.xmlBlaster.util.checkpoint
Interface I_Checkpoint
- All Superinterfaces:
- CheckpointMBean, I_AdminPlugin, I_AdminService, I_AdminUsage, I_Plugin
- All Known Implementing Classes:
- Checkpoint
- public interface I_Checkpoint
- extends I_Plugin, CheckpointMBean
Interface for plugins to handle messages passing checkpoints.
- Author:
- Marcel Ruff
|
Field Summary |
static int |
CP_CONNECTION_PUBLISH_ACK
|
static java.lang.String[] |
CP_NAMES
|
static int |
CP_PUBLISH_ACK
A published messages is successfully processed by the core (publish or publishOneway)
For none oneway the ACK is now returned to the publisher. |
static int |
CP_UPDATE_ACK
A message was delivered to a client (update or updateOneway). |
static int |
CP_UPDATE_QUEUE_ADD
A messages is put to a clients callback queue |
|
Method Summary |
void |
passingBy(int checkpoint,
MsgUnit msgUnit,
SessionName destination,
java.lang.String[] context)
A message is passing a checkpoint. |
CP_PUBLISH_ACK
public static final int CP_PUBLISH_ACK
- A published messages is successfully processed by the core (publish or publishOneway)
For none oneway the ACK is now returned to the publisher.
Note: Internal and administrative messages are not reported
- See Also:
- Constant Field Values
CP_UPDATE_QUEUE_ADD
public static final int CP_UPDATE_QUEUE_ADD
- A messages is put to a clients callback queue
- See Also:
- Constant Field Values
CP_UPDATE_ACK
public static final int CP_UPDATE_ACK
- A message was delivered to a client (update or updateOneway).
For none oneway messages after the client has returned its ACK.
- See Also:
- Constant Field Values
CP_CONNECTION_PUBLISH_ACK
public static final int CP_CONNECTION_PUBLISH_ACK
- See Also:
- Constant Field Values
CP_NAMES
public static final java.lang.String[] CP_NAMES
passingBy
public void passingBy(int checkpoint,
MsgUnit msgUnit,
SessionName destination,
java.lang.String[] context)
- A message is passing a checkpoint.
Note: This method may never throw any exceptions
- Parameters:
checkpoint - The checkpoint, e.g. CP_PUBLISH_ACKdestination - Can be nullmsgUnit - The message processedcontext - Additional key values like { "subscriptionId", "__suvbId:2349", "comment", "blabla" }
Copyright © 1999-2007 The xmlBlaster.org contributers.