Start of Content Area

Procedure documentation Adding DynamicConfigurationBean in the Module Processor  Locate the document in its SAP Library structure

Use

You use this module to edit the message header for adapter-specific message attributes. You can add attributes to the header or delete attributes from the header.

You can import attributes of the XI message header to attributes of the adapter-specific message header or import attributes from the adapter-specific message header to attributes of the XI message header.

You can use the module in any adapter that can be extended.

More information: Adapter-Specific Message Attributes in the Message Header

Attributes in the XI Message Header

Attribute

Meaning

message.messageId

Message ID

message.refToMessageId

Reference ID for the synchronous response

message.correlationId

Reference ID for the asynchronous response

message.conversationId

Reference ID for processing using queues

message.qualityOfService

Quality of service

message.senderParty

Sender party

message.senderService

Sender service

message.receiverParty

Receiver party

message.receiverService

Receiver service

message.interfaceNamespac

Interface namespace

message.interface

Interface name

Prerequisites

You have configured a communication channel and are on the Module tab page in change mode.

Procedure

Add the Module in the Processing Sequence

...

       1.      Enter the module name AF_Modules/DynamicConfigurationBean before the module name of the adapter.

For information about where to insert the module, see: Extending the Module Chain in the Module Processor

       2.      The Module Type is Local Enterprise Bean.

The system proposes a Module Key.

Add Parameters in the Module Configuration

       3.      To define the maximum length of the namespace, enter dc.namespaceLength under Parameter Name.

       4.      Under Parameter Value, enter the length of the namespace.

Namespaces that exceed this value are deleted.

       5.      To define the maximum length of the name, enter dc.nameLength under Parameter Name.

       6.      Under Parameter Value, enter the length of the name.

Names that exceed this value are deleted.

       7.      To define the maximum length of the value, enter dc.valueLength under Parameter Name.

       8.      Under Parameter Value, enter the length of the value.

Values that exceed this value are deleted.

       9.      Under Parameter Name, enter key.nn.

   10.      Under Parameter Value, enter the key value as follows:

<action nsuri name>

       action can be insert, delete, read, or write.

       nsuri is the namespace of the attribute.

       name is the name of the attribute.

If action is read or write you can read or write attributes of the XI message header.

       The nn suffix establishes the connection to value.nn.

       nn is a string of your choice.

   11.      Under Parameter Name, enter value.nn.

   12.      Under Parameter Value, enter the value for key.nn.

Example

Example 1

Parameter Name

Parameter Value

key.0

insert http://sap.com/xi/XI/System/ABC XYZ

value.0

123

key.1

insert http://sap.com/xi/XI/System/ABC UVW

value.1

456

The two attributes are inserted in the adapter-specific message header with the corresponding values.

Example 2

Parameter Name

Parameter Value

key.0

read http://sap.com/xi/XI/System/Messaging messageId

value.0

message.messageId

key.1

read http://sap.com/xi/XI/System/Messaging senderParty

value.1

message.senderParty

key.2

read http://sap.com/xi/XI/System/Messaging senderService

value.2

message.senderService

The message ID, sender party, and sender service attributes are imported from the XI message header to the adapter-specific message header.

 

End of Content Area