Thursday, August 7, 2008

Connectivity

Connectivity How to

Websphere Integration Developer v612

Contact us...

Contents

Introduction

Related links

Connectivity

Accessing services

Selecting appropriate bindings

Invocation Patterns

SCA provides four invocation patterns.

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

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

Related links

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. 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.

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.

Configure bindings to support asynchronous invocation patterns (JMS, MQ)

Related links

JMS binding configuration

MQ binding configuration

Create imports from external services

Related links

Add, configure, and bind an adapter

Related links

Use and configure the data binding framework

Related links

No comments: