Creating Consumer Factories
Context
The consumer factory is the interface on consumer side that is used to establish a connection. It is linked to the semantic contract and its actor. At design time, the method of sender, receiver, and authentication determination is defined. When the consumer factory is instantiated, logical or technical determination of sender, receiver and authentication method and data take place, if applicable. With this information, the consumer factory gets an instance of the source consumer proxy, which it then uses to send out the request message. If a single-target consumer mapping has been used for the configuration of the logical port, in this step, the correct target proxy is used to send the message.
For more information about single-target consumer mappings, see Working with Consumer Mappings.
Note that the application can either know the sender and receiver IBCs or determine them using logical routing. This depends on the way the consumer factory is developed. Senders and receivers can be determined using filter structures and rules that are defined by the business administrator.