Working with the message header

You can add function to a preexisting mediation handler to operate on the message header.

Before you begin

Create or open a basic mediation handler in an EJB project (see Gravando uma Rotina de Tratamento de Mediações. It is useful to have understood the elements of the task Trabalhando com a Carga Útil da Mensagem, because some of those elements are used in this task

About this task

There are different types of field that you can set in message headers. Importantly, you can set the forward and return routing addresses for messages after they have been mediated at the current destination. In addition there are other fields that you can set, such as priority and reliability for the message and its reply, and the remaining time before the message (or the reply) expires.

Procedure

  1. To set routing addresses in the message header, see Configurando Endereços de Roteamento em um Cabeçalho da Mensagem.
  2. To set all other fields in the message header, see Working with non-routing path fields in a message header.

Ícone que indica o tipo de tópico Tópico de Tarefa



Ícone de registro de data e hora Última atualização: July 9, 2016 7:55
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tjy1502
Nome do arquivo: tjy1502.html