WebSphere Adapter for Email

Generating reference bindings

Create a reference in the assembly editor from the adapter project to an endpoint. The endpoint represents an a generic J2EE component, such as the application server. By wiring the adapter project to the stand-alone reference (represented as a component in the assembly editor), you link the adapter to other server processes.

Before you begin

You must have generated artifacts for your adapter project before creating reference bindings.

About this task

To generate reference bindings, follow this procedure. For more information on wiring reference bindings, see the WebSphere Integration Developer documentation.

How to perform this task

  1. Optional: Switch to the business integration perspective by selecting Window > Open perspective > Other > Business Integration Perspective .
  2. Right-click the inbound project and select Open With > Assembly Editor .
    This image shows the inbound interface being selected and right-clicked. From there you can select to open with the assembly editor.
    Opening the Assembly Editor
  3. Identify and drag the Component (with no implementation type) icon into the Assembly Editor. You may need to click once in the assembly editor field to place the component. The component represents a J2EE client, like an application server, that reads inbound requests from the adapter.
    Select the component icon and drag it into the assembly editor.
    Assembly Diagram window with EmailInboundInterface representation
  4. Click the wiring icon and select the adapter reference. Then, drag the wire to the component representation.
    Draw a wire from the component to your adapter project.
    Assembly Diagram EmailInboundInterface wired to Component 1 representation
  5. Click OK on any dialog boxes that ask you to save.
  6. Right-click the component and select Generate Implementation > Java.
  7. Select the default package and click OK. WebSphere Integration Developer generates the Java™ implementation for the endpoint component and opens it in a window.
  8. Save the generated Component1 Java implementation and the assembly diagram.

Result

A reference binding is created linking the adapter to application server processes.

What to do next

Configure an inbound adapter module or export the outbound adapter module to an EAR file. The EAR file can be deployed to the application server.

Terms of use |

Last updated: Mon 30 Oct 2006 03:44:38

(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)