Start of Content Area

Function documentation DynamicConfigurationBean  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.

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

Integration

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

Prerequisites

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

Activities

Entries in the Processing Sequence

      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

      The Module Type is Local Enterprise Bean.

      The system proposes a Module Key.

Entries in the Module Configuration

      dc.namespaceLength

Enter the maximum length of the namespace.

Namespaces that exceed this value are deleted.

      dc.nameLength

Enter the maximum length of the name.

Names that exceed this value are deleted.

      dc.valueLength

Enter the maximum length of the value.

Values that exceed this value are deleted.

      key.nn

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.

      value.nn

Enter the value for key.nn.

Attributes in the 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

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