Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • Lotus Expeditor wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category Lotus Expeditor 6.2.3 Documentation Custom Search Scope...
Search
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Gerald Kallas
Contribution Summary:
  • Articles authored: 13
  • Articles edited: 16
  • Comments Posted: 0

Recent articles by this author

6.3.1 Configure backend connectivity

This section describes how to configure WebSphere Message Broker with underlying WebSphere MQ as a representation of a Backbone Service Bus. WMQ is the underlying messaging connectivity layer for WebSphere Message Broker. For all WebSphere MQ related tasks we'll use WebSphere MQ Explorer.

6.3.4 Setup of use case UC003

h4 Use case UC003 Self checkout boxes (Pecuron) status data transfer to a central Pecuron managment softwareh4 A Self Checkout Box will be sending status data as a JMS message to the System. The System must watch the appropriate message queue and transfer the incoming message to the head ...

6.3.3 Setup of use case UC002

h4 Use case UC002 TLOG data capture from POS and transfer to head officeh4 The 4690 POS Server is collecting transaction (TLOG) data and is storing this data as files at an FTP accessible directory. The System must watch this directory through a remote FTP connection. If an appropriate ...

8.0 Using HermesJMS to work with WebSphere MQ and micro broker

This section explains how to configure and use micro broker JMS client in HermesJMS. HermesJMS can be used for browsing and processing messages on different messaging providers like WebSphere MQ or micro broker, the advantage is having a JMS browser GUI when testing several use cases described in ...

1.1 Introduction to Service Oriented Architecture

"Service Oriented Architecture (SOA) is a businesscentric IT architectural approach that supports integrating your business as linked, repeatable business tasks, or services. With the Smart SOA approach, you can find value at every stage of the SOA continuum, from departmental projects to ...

Community article6.3.4 Setup of use case UC003

Added by Gerald Kallas | Edited by IBM contributor Bart Jacob on December 13, 2008 | Version 21
expanded Abstract
collapsed Abstract
No abstract provided.
Tags:
Table of Contents | Previous | Next

Use case UC003 - Self checkout boxes (Pecuron) status data transfer to a central Pecuron managment software


A Self Checkout Box will be sending status data as a JMS message to the System. The System must watch the appropriate message queue and transfer the incoming message to the head office Backbone Service Bus. At the beginning and end of the processing the System must be generate events containing information about the transaction status.

The picture below shows this use case in detail. JKHLE has taken care from the beginning that with introduction of these new Self Checkout Devices a near real-time and messaging based approach for data transfer is being established.


Use case UC003



The example is of a transfer of a status message from such a Self Checkout (Pecuron) Device to the PBOA (Pecuron Back Office Application) that resides centrally on an application server cluster for all retail stores of JKHLE. See the message below for simulation of the application with an embedded micro broker JMS Client on a Pecuron Device. For testing purposes you could put this (text) message in the appropriate micro broker queue with HermesJMS.
Info
In the real scenario this is a message a Pecuron sends to the head office to indicate it is "ready for service".


 
  100
  P1236
  2008-12-01T16:10:54
  1228144254066
  232
  BackOfficeLogger
  INFO
  de.algotec.customer.ibm.pecuron.devices.TrafficLightUtils
  handleBOLogging
  10
 
          StatusIndicators
         
                 
                          TlTop
                          0
                 

                 
                          TlMid
                          0
                 

                 
                          TlBot
                          1
                 

         

 



For routing purposes you need to define one in-queue for each Pecuron device. A Pecuron doesn't send any JMS custom header properties about his identity and so far the identity must be defined as parameter for a dedicated Resource Adapter / in-queue pair. Find below the in-queue definition for our example.

            
             
                 
                          ...
                         

                         

                                  XPDinteg_SelfCheckoutInQ

                                  jms/XPDinteg_SelfCheckoutInQ

                         

                         

                         
                 


The Resource Adapter definition looks like following.

 
   
                                     
                   ...
           

                   

                           

                                   com/ibm/integrator/flowtriggerevent/MessageForward/SelfCheckoutMessage/JMSAdapter

                           

                           

                                   

                                   

                                   

                                   

                                   

                                   

                                   

                                   

                                   

                                   

                           

                   

           

                   ...
           


Finally there's the Flow definition as listed below.




   
           Name="MessageForward_ReadResource"
           ActivityName="XPDINTEG_MESSAGE_READ"
           PropertyKey="DATA_REFERENCE"
   />
   
           Name="MessageForward_MessageWrite"
           ActivityName="XPDINTEG_MESSAGE_WRITE"
           JndiConnectionFactoryKey="jms/XPDinteg_ConnectionFactory"
           DestinationName="jms/XPDinteg_ResOutQ"
           AddDefaultHeaders="TRUE"
           Header1="ADD:ResourceType:SelfCheckoutMessage:STRING"
           Header2="ADD:PecuronId:P1236:STRING"
   />


You should take care to ensure there is an exact match of the topic definition com/ibm/integrator/flowtriggerevent/MessageForward/SelfCheckoutMessage/JMSAdapter for the Resource Adapter definition (Resource Monitor acts as publisher) and Flow definition (Application Control Service acts as subscriber and starts the Flow).

Putting a test message into the queue XPDinteg_SelfCheckoutInQwill finally trigger the Flow that reads the message from this queue and puts it into XPDinteg_ResOutQ. It is necessary to generate JMS custom header properties for further routing mechanisms at the Backbone Service Bus. The parameters for the second Activity have the following meaning.

AddDefaultHeaders
- adds the standard JMS custom header properties that are required for further processing at central side
Header1
- adds a JMS custom property for ResourceType
Header2
- adds a JMS custom property for PecuronId (ID of the Pecuron Device)

See the output in Lotus Expeditor integrator console window when the use case was executed successfully below.


Console output UC003



Find below some excerpts from a PoT performed for JKHLE, including Pecuron Device Application (PAPP) with micro broker JMS Client, Lotus Expeditor integrator, WebSphere Message Broker (WMQ) and Pecuron Back Office Application (PBOA). This one uses the use case UC003 for status information from Pecuron to PBOA while it also implements a use case for messages from PBOA to Pecuron that is not described here.


Operational considerations UC003




PBOA screen before receiving PAPP status message - the red dot means that the Pecuron is not available for customer transactions




PBOA screen after receiving PAPP status message - the green dot means that the Pecuron is ready for customer transactions


Table of Contents | Previous | Next
expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (21)
collapsed Versions (21)
Version Comparison     
VersionDateChanged by              Summary of changes
23Oct 18, 2012 9:48:58 AMAmanda J Bauman  IBM contributor
22Jun 12, 2009 6:06:04 PMJack Mitchell  IBM contributor
This version (21)Dec 13, 2008 8:44:10 PMBart Jacob  IBM contributor
20Dec 13, 2008 5:28:28 PMBart Jacob  IBM contributor
19Dec 12, 2008 7:11:17 PMGerald Kallas  IBM contributor
18Dec 4, 2008 4:32:56 PMGerald Kallas  IBM contributor
17Dec 4, 2008 4:26:54 PMGerald Kallas  IBM contributor
15Dec 4, 2008 2:59:35 PMGerald Kallas  IBM contributor
15Dec 4, 2008 2:59:35 PMGerald Kallas  IBM contributor
14Dec 4, 2008 2:59:35 PMGerald Kallas  IBM contributor
13Dec 4, 2008 10:28:58 AMGerald Kallas  IBM contributor
12Dec 3, 2008 7:21:19 AMGerald Kallas  IBM contributor
11Dec 3, 2008 7:11:59 AMGerald Kallas  IBM contributor
10Dec 3, 2008 6:38:43 AMGerald Kallas  IBM contributor
9Dec 3, 2008 6:31:53 AMGerald Kallas  IBM contributor
8Dec 3, 2008 6:29:38 AMGerald Kallas  IBM contributor
7Dec 3, 2008 6:02:02 AMGerald Kallas  IBM contributor
6Dec 2, 2008 5:01:05 PMGerald Kallas  IBM contributor
5Dec 2, 2008 12:54:53 PMGerald Kallas  IBM contributor
4Dec 2, 2008 12:32:47 PMGerald Kallas  IBM contributor
0Dec 2, 2008 12:31:13 PMGerald Kallas  IBM contributor
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use