Tasks to complete after generating the Worklight: push notification from WebSphere MQ pattern

Tasks that you must complete after you have generated the pattern.

  1. Deploy the generated Worklight adapter to the Worklight Server.
    1. Export the Worklight project to the file system from your workspace.
    2. Start Worklight Studio and import the Worklight project.
    3. Click on the adapter in the imported project and click Run As > Deploy Worklight Adapter.
  2. Deploy the web service to WebSphere Message Broker. The application must be added to a broker archive file.
    1. Click File > New > BAR file.
    2. Enter the name of your application or select one from the displayed list. The list is filtered to show only projects in the active working set.
    3. Enter a name for the BAR file that you are creating.
    4. Click Finish. A file with a .bar extension is created and is displayed in the Navigator view, under the Broker Archives folder. The Content editor for the BAR file opens.
    5. On the Prepare tab, select the generated message flow file to add it to your BAR file.
    6. Click Build and Save to create your BAR file.
  3. Configure the broker archive file. Further configuration of the application in the broker archive file is not required before you deploy the message flows for your Worklight to Microsoft .NET: request-response pattern instance, but you might want to review some of the default options and configure changes for your environment. In the Manage page of the Broker Archive editor:
    1. Optional: Use the LoggingOn user-defined property to select whether logging is on or off for the web service message flow.
    2. Optional: Use the ErrorLoggingOn user-defined property to select whether error messages are generated.
    3. Optional: You can change any of the configurable properties in the broker archive, for example, properties for security or creating additional instances.

      You must ensure that any values that you change do not impact the behavior of the pattern instance.

  4. Create queues. WebSphere MQ queues must be created if they do not already exist for the error and log messages.
    1. Create WebSphere MQ resources. You can create WebSphere MQ resources either on the command line by using programs and utilities such as runmqsc, or by using the WebSphere MQ Explorer graphical interface. For more information about creating WebSphere MQ resources, see WebSphere MQ Intercommunication, available on the WebSphere MQ library web page.
  5. Deploy the BAR file to an execution group.

Back to the Worklight: push notification from WebSphere MQ pattern specification