Tasks to complete after generating the Worklight: push notification from WebSphere MQ pattern
Tasks that you must complete after you have generated the pattern.
-
Deploy the generated Worklight adapter to the Worklight Server.
- Export the Worklight project to the file system from your workspace.
- Start Worklight Studio and import the Worklight project.
- Click on the adapter in the imported project and click Run As > Deploy Worklight Adapter.
-
Deploy the web service to WebSphere Message Broker. The application must be added to a broker archive file.
-
Click File > New > BAR file.
-
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.
-
Enter a name for the BAR file that you are creating.
-
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.
-
On the Prepare tab, select the generated message flow file to add it to your BAR file.
-
Click Build and Save to create your BAR file.
-
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:
-
Optional: Use the LoggingOn user-defined
property to select whether logging is on or off for the web service message flow.
- Optional: Use the ErrorLoggingOn
user-defined property to select whether error messages are generated.
- 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.
-
Create queues. WebSphere MQ queues must be created if they do not already exist for
the error and log messages.
- 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.
- Deploy the BAR file to an execution group.
Back to the Worklight: push notification from WebSphere MQ pattern specification