Broker:Forwarded Message Sent Event Class


SQL Server generates a Broker:Forwarded Message Sent event when Service Broker forwards a message.

Data columnTypeDescriptionColumn numberFilterable
ApplicationNamenvarcharThe name of the client application that created the connection to an instance of SQL Server. This column is populated with the values passed by the application rather than the displayed name of the program.10Yes
BigintData1bigintMessage sequence number.52No
ClientProcessIDintThe ID assigned by the host computer to the process where the client application is running. This data column is populated if the client process ID is provided by the client.9Yes
DatabaseIDintThe ID of the database specified by the USE database statement, or the ID of the default database if no USE databasestatement has been issued for a given instance. SQL Server Profiler displays the name of the database if the Server Name data column is captured in the trace and the server is available. Determine the value for a database by using the DB_ID function.3Yes
DBUserNamenvarcharThe broker instance id for the service that the message is from.40No
EventClassintThe type of event class captured. Always 139 for Broker:Forwarded Message Sent.27No
EventSequenceintSequence number for this event.51No
FileNamenvarcharThe name of the service that the message is to.36No
GUIDuniqueidentifierThe conversation id of the dialog. This identifier is transmitted as part of the message, and is shared between both sides of the conversation.54No
HostNamenvarcharThe name of the computer on which the client is running. This data column is populated if the host name is provided by the client. To determine the host name, use the HOST_NAME function.8Yes
IndexIDintThe number of hops remaining for the forwarded message.24No
IntegerDataintThe fragment number of the forwarded message.25No
IsSystemintIndicates whether the event occurred on a system process or a user process. 1 = system, 0 = user.60No
LoginSidimageThe security identification number (SID) of the logged-in user. Each SID is unique for each login in the server.41Yes
NTDomainNamenvarcharThe Windows domain to which the user belongs.7Yes
NTUserNamenvarcharThe name of the user that owns the connection that generated this event.6Yes
ObjectIdintThe time to live value for the forwarded message when the message was forwarded.22No
ObjectNamenvarcharMessage ID of the forwarded message.34No
OwnerNamenvarcharThe broker identifier that the message is directed to.37No
RoleNamenvarcharThe role of the conversation handle. One of:

Initiator. This broker initiated the conversation.

Target. This broker is the target of the conversation.
ServerNamenvarcharThe name of the instance of SQL Server being traced.26No
SPIDintThe server process ID assigned by SQL Server to the process associated with the client.12Yes
StartTimedatetimeThe time at which the event started, when available.14Yes
SuccessintThe amount of time consumed during the forwarding process.23No
TargetLoginNamenvarcharThe network address that this instance sent the message to. Notice that this may be different than the final destination for the message.42No
TargetUserNamenvarcharThe name of the initiating service for the message.39No
TransactionIDbigintThe system-assigned ID of the transaction.4No