Class BrokerTraceEvent

java.lang.Object
COM.activesw.api.client.BrokerTraceEvent

public class BrokerTraceEvent extends Object
This class is a data structure used to describe trace event.
  • Field Details

    • TRACE_CLIENT_CREATE

      public static final int TRACE_CLIENT_CREATE
      See Also:
    • TRACE_CLIENT_DESTROY

      public static final int TRACE_CLIENT_DESTROY
      See Also:
    • TRACE_CLIENT_CONNECT

      public static final int TRACE_CLIENT_CONNECT
      See Also:
    • TRACE_CLIENT_DISCONNECT

      public static final int TRACE_CLIENT_DISCONNECT
      See Also:
    • TRACE_CLIENT_LOCK

      public static final int TRACE_CLIENT_LOCK
      See Also:
    • TRACE_CLIENT_UNLOCK

      public static final int TRACE_CLIENT_UNLOCK
      See Also:
    • TRACE_BROKER_ADDED

      public static final int TRACE_BROKER_ADDED
      See Also:
    • TRACE_BROKER_REMOVED

      public static final int TRACE_BROKER_REMOVED
      See Also:
    • TRACE_EVENT_PUBLISH

      public static final int TRACE_EVENT_PUBLISH
      See Also:
    • TRACE_EVENT_ENQUEUE

      public static final int TRACE_EVENT_ENQUEUE
      See Also:
    • TRACE_EVENT_RECEIVE

      public static final int TRACE_EVENT_RECEIVE
      See Also:
    • TRACE_EVENT_DROP

      public static final int TRACE_EVENT_DROP
      See Also:
    • TRACE_EVENT_INSERT

      public static final int TRACE_EVENT_INSERT
      See Also:
    • TRACE_EVENT_DELETE

      public static final int TRACE_EVENT_DELETE
      See Also:
    • TRACE_EVENT_PEEK

      public static final int TRACE_EVENT_PEEK
      See Also:
    • TRACE_OTHER

      public static final int TRACE_OTHER
      See Also:
    • seqn

      public int seqn
      The trace sequence number.
    • key

      public int key
      The trace key. This tells which of the other values will be set.
    • client_id

      public String client_id
      The client ID being created or destroyed for CLIENT_CREATE, CLIENT_DESTROY, CLIENT_CONNECT, and CLIENT_DISCONNECT operations. The client ID of the publisher of an event on EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. Value is null for other operations.
    • locking_id

      public String locking_id
      The client ID that is holding a queue lock for CLIENT_LOCK, CLIENT_UNLOCK operartions. Value is null for other operations.
    • recv_client_id

      public String recv_client_id
      The client ID for the receiving client for EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. This field is null if the event was for another broker instead of a client. Value is null for other operations.
    • ip_address

      public long ip_address
      The ip address of the client's host for CLIENT_CONNECT and CLIENT_DISCONNECT traces. This field is zero for all other traces.
    • session_id

      public int session_id
      The client session ID for CLIENT_CONNEDCT and CLIENT_DISCONNECT traces. This is the receiving client session ID for EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. This field is zero if the client is not a shared state client.
    • session_count

      public int session_count
      The number of open sessions for CLIENT_CONNECT and CLIENT_DISCONNECT traces. This field is -1 if the client is not a shared state client.
    • dest_client_id

      public String dest_client_id
      The client ID to which the event is being delivered for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations where the event was delivered rather than published by the sending client. Value is null for other operations or if the event was not delivered.
    • broker_name

      public String broker_name
      The name of the broker being added or removed from the territory on BROKER_ADDED and BROKER_REMOVED operations. The name of the broker where the event was forwarded from on EVENT_PUBLISH operations, null if from the local broker. The name of the broker that the event was queued for, received by, or dropped for EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations that are for another broker. null on these opererations if the event is related to a client.. Value is null for other operations.
    • broker_host

      public String broker_host
      The hostname of the broker as set in 'broker_name'. See that field for details on when it is set. This field is the same.
      See Also:
    • app_name

      public String app_name
      The application name for the client on CLIENT_CREATE and CLIENT_DESTROY operations. Value is null for other operations.
    • client_group

      public String client_group
      The client group name for the client on CLIENT_CREATE and CLIENT_DESTROY operations. Value is null for other operations.
    • encrypt_level

      public int encrypt_level
      Tells the encryption level of the client's connection. Value is one of the BrokerConnectionDescriptor.ENCRYPT_LEVEL_* values. This value is null for traces other than CLIENT_CONNECT and CLIENT_DISCONNECT.
    • is_authenticated

      public boolean is_authenticated
      Tells the client is authenticated with the broker. This is true only if the client uses SSL to connect. This value is always ENCRYPT_LEVEL_NO_ENCRYPTION for traces other than CLIENT_CONNECT and CLIENT_DISCONNECT.
    • event_type_name

      public String event_type_name
      The event type name for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. Value is null for other operations.
    • has_tag

      public boolean has_tag
      Tells if the tag value is set. The tag may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations.
    • tag

      public int tag
      The tag value from the event's envelope. Valid only if 'has_tag' is true.
    • track_id

      public String track_id
      The tracking identifier from the event's envelope. The track ID may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations.
    • activation

      public String activation
      The activation value from the event's envelope. It may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations.
    • businessContext

      public String businessContext
      The businessContext value from the event's envelope. It may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations.
    • is_WireTags

      public byte[] is_WireTags
      The is_WireTags value from the event's envelope. It may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations. Used only by integration server.
    • is_WireFormatVersion

      public int is_WireFormatVersion
    • locale

      public String locale
    • uuid

      public String uuid
      The is_WireTags value from the event's envelope. It may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations. Used only by integration server.
    • event_id

      public long event_id
      The 64-bit identifier for the event. The identifier will always be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set (set to zero) for other operations.
    • other_string

      public String other_string
      The raw trace string. This is only set for the OTHER operation, which only occurs if an unsupported trace is received. Value is null for other operations.
    • flags

      public int flags
    • log_host

      public String log_host
    • log_broker

      public String log_broker
    • has_run_level

      public boolean has_run_level
      Tells if the tag value is set. The tag may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations.
    • runLevel

      public int runLevel
      To be used to set Adapter leveling in the new ART
  • Constructor Details

    • BrokerTraceEvent

      public BrokerTraceEvent()
      Create an empty entry
  • Method Details