4 Monitoring and Managing SAF Agents

You can use the WebLogic Server Administration Console to monitor runtime statistics and manage message operations for your SAF agents.

4.1 Monitoring SAF Agents

You can monitor statistics on active SAF agents defined in your domain using the WebLogic Server Administration Console. As an alternative, you can also do this programmatically using the SAFAgentRuntimeMBean.

The WebLogic Server Administration Console provides monitoring capabilities for SAF agents, remote endpoints, and connections. The following information can be viewed on each SAF agent:

  • For WSRM only, all of the SAF receiving agents that a SAF agent has talked to.

  • For WSRM only, all of the conversations that have occurred.

  • For WSRM and JMS, all of the endpoints that an SAF agent has sent messages to.

The following statistics information will be recorded on each sending agent:

  • Current, total, and high count of messages (per agent and per remote endpoint)

  • Total number of messages that has failed (per conversation, agent and remote endpoint)

  • Current, total, and high count of conversations (per agent and per remote endpoint)

  • Total uptime, downtime, and last time connected or disconnected for a remote agent.

See Monitor SAF agent statistics in the Oracle WebLogic Server Administration Console Online Help.

4.2 Managing Message Operations on SAF Agents

The WebLogic Server Administration Console also provides runtime message management capabilities for SAF agents. These management capabilities include:
  • Temporarily pausing any incoming, forwarding, and receiving message operations on a SAF agent, as described in Monitor SAF agent statistics in the Oracle WebLogic Server Administration Console Online Help.

  • Temporarily pausing incoming and forwarding message operations to remote endpoints. You can also expire all messages or purge all messages for remote endpoints, as described in Monitor SAF agent remote endpoints in the Oracle WebLogic Server Administration Console Online Help.

  • Destroying WSRM conversations and purging all messages associated with the conversation, as described in Monitor SAF agent WSRM conversations in the Oracle WebLogic Server Administration Console Online Help.