Tuesday, June 16, 2009

Configure bindings to support synchronous invocation patterns

Connectivity
Websphere Integration Developer v612
Contact us...

Configure bindings to support synchronous invocation patterns (JMS, MQ, Web Services, HTTP)

Invocation Patterns

SCA provides four invocation patterns.

  1. Synchronous
    Client issues a request and waits for the response.
  2. Asynchronous one-way
    Client issues a request and a response is not expected.
  3. Asynchronous deferred response
    Client issues a request and the response will be requested by the client at a later point in time.
  4. Asynchronous call back
    Client issues a request and the target will call a service implemented by the client with the response.

JMS binding configuration

Use JMS binding when you need to access a messaging system.

The following must be configured to support synchronous invocation (Client issues a request and waits for the response)
  1. JMS Messaging domain
    Set to Point-to-Point
  2. Managed connection factory
    A factory used to create the connection to the messaging provider
  3. Send Destination Properties
    The destination where the message would be sent
  4. Receive Destination Properties
    The destination where the response message would be received. This value is specified in the JMSReplyTo field of the sent message.

MQ binding configuration

Use MQ binding when you need to access a WebSphere MQ messaging system and need to use the MQ native functions.

The following must be configured to support synchronous invocation (Client issues a request and waits for the response)
  1. Request Queue Manager
  2. Send Destination Queue
  3. Receive Destination Queue

Web Service binding configuration

Use Web Service binding when you need to access an external service over the Internet or provide a service over the Internet.

The following must be configured to support synchronous invocation (Client issues a request and waits for the response)
  1. JMS Messaging domain
    Set to Point-to-Point
  2. Managed connection factory
    A factory used to create the connection to the messaging provider
  3. Send Destination Properties
    The destination where the message would be sent
  4. Receive Destination Properties
    The destination where the response message would be received. This value is specified in the JMSReplyTo field of the sent message.

HTTP configuration

Use HTTP binding when you need to access an external service over the Internet or provide a service over the Internet and you are working with other Web services based on the HTTP model; that is, using well-known HTTP interface operations like GET, PUT, DELETE, and so on.

The following must be configured to support synchronous invocation (Client issues a request and waits for the response)
  1. JMS Messaging domain
    Set to Point-to-Point
  2. Managed connection factory
    A factory used to create the connection to the messaging provider
  3. Send Destination Properties
    The destination where the message would be sent
  4. Receive Destination Properties
    The destination where the response message would be received. This value is specified in the JMSReplyTo field of the sent message.

Related links

  1. SCA asynchronous invocation patterns in depth

No comments: