JMS synchronous between ALBPM and MQSeries in a screenflow

Hi all
I need to set up a synchronous call to mqseries and I want to do it in a screenflow in a BPM on ALBPM 6.0.5 process.
I don't have much experience on mqseries even if I still worked with JMS with ALBPM (on ALSB).

Anyone can post some advice/guidance/example please?
Any kind of help would be appreciated

Giubodi

Hi Giuliano,

Here is a link to a zip file which may help you: http://www.4shared.com/file/138563568/ed8cdb75/MQ_Series_with_ALBPM.html

Inside of this zip, there is a PDF that documents how to hit MQ of ALBPM. It is not official Oracle documentation, but is what we wrote a few years when we were working with MQ JMS integration.

He wrote for ALBPM 5.7, but three external resources, you will need are documented:

  • you will need an external resource Java that introspects the POJO Java 6
  • a JNDI provider / J2EE Application Server and
  • a JMS queue / JMS Messaging Service

    Be sure to use the generic JMS client application I've included with this zip. This allows to quickly test connectivity for WebSphere MQ (or any other JMS broker). You sometimes find you spend hour trying to integrate with back-end services (be it a JMS broker or another type of integration) to find out hours later that the parameters provided were incorrect. Once it has been tested and work ouside Oracle BPM, it is usually easy to get things working inside the Oracle BPM.

    Hope this helps,
    Dan

  • Tags: Fusion Middleware

    Similar Questions

    • JMS connection between glassfish and OSB

      We are having architecture where between GlassFish and OSB JMS messages. I have the following questions of design
      (1) what is the best way to send messages between these two App servers? (I mean use the JMS bridge or regularly use JNDI lookup and send the message and so on)? We want to send messages in both directions between these two App servers.
      (2) how we use JNDI search inside glassfish for OSB. We use an approach by providing the full client jar fat weblogic. (53 MB) Is this the only way? Is there any thin weblogic client that we use for queue search OSB of glassfish?
      Thanks in advance.

      Using a JMS client WL on GF has limits on XA/JTA, consuming messages from distributed locations and securing individual destinations. Workaround for the latter is to avoid to set ACLs on WL destinations and use SSL to encrypt network traffic if you wish.

      I recommend the following general method: (1) avoid using WL JMS on the GF level clients if you need exactly once the e-mail or require the consumption of a distributed destination and (2) use OSB or WebLogic foreign seller JMS integration facilities for either (A) bridge/transfer messages between WL JMS and GF JMS or call (B) GF JMS directly the WL/OSB tier.

      If you don't want to use a jar full of WebLogic as a customer, there is a pot of customer 'thin' t3 equivalent available in the latest version. I recommend the full jar unless a small pot size is an important condition in your use case. I recommend the thin 't3' jar on the thin "wl" pot as the pot thin t3 tends to have much better performance. Or the other of these clients can interact with older versions.

      FAQ for vendors integrating a Remote JMS summarizes the Server WebLogic tools available for the integration of foreign suppliers (http://download.oracle.com/docs/cd/E14571_01/web.1111/e13727/interop.htm#JMSPG553). I'm not familiar with a tool equivalent/layers of OSB.

      The stand-alone Clients documentation lists different JMS (http://download.oracle.com/docs/cd/E14571_01/web.1111/e13717/basics.htm#SACLT122) client options.

      Kind regards

      Tom

    • Silent mode synchronized between watch and iPhone

      Hello

      I was wondering if there is a feature that when I put my iPhone on the silence, my Apple Watch also went silent. If so, how should I do this?

      Thank you very much.

      # Is not afraid.

    • I have Photoshop installed on my desktop and laptop. The photo folders are synchronized between them, but I don't mean to maintain synchronized so catelogs. What folders/files I need to copy to keep items Organizer catelogs and keywords, the t

      I have Photoshop elements 14 installed on my desktop and laptop. The photo folders are synchronized between them, but I don't mean to keep synchronized and catalogs. What folders/files I need to copy to keep organizing items catalogs and keywords, tags, synchronized on the laptop and the face recognition Office?

      oliverk3402531 wrote:

      I have Photoshop elements 14 installed on my desktop and laptop. The photo folders are synchronized between them, but I don't mean to keep synchronized and catalogs. What folders/files I need to copy to keep organizing items catalogs and keywords, tags, synchronized on the laptop and the face recognition Office?

      Looking for the location of your catalog in the menu help > system information. It's all the folder containing the database file catalog.pse14db.

      It's easy to synchronize your catalog...

      But...

      Even if the media folder tree has the same structure, which does not work and all your files will be displayed as "offline" in the catalog synchronized. The reason is that the catalogue in computer stores the location of the media files by the full path AND the identification of the drive (internal serial number). The synchronized catalog will not find files on computer B.

      So, what would be your choice?

      -Store your multimedia files on an external drive and plug it alternately on both computers. No need to synchronize media files; You can even save the catalog on the external drive, no need to synchronize the catalog folder either. Downside: who does not act as a backup. You can use your sync as a simple backup to restore in the drive of origin if necessary.

      -According to John R Ellis, you can assign the same serial number for both drives.

      psedbtool (database of the elements of Photoshop tool)

      I have not tested this, but it should work.

      -The good old method of backup and restore, forgetting the 'sync' is slow, but much more secure (you have two copies over a backup). The HUGE advantage is that you can easily migrate to another computer and still another version of elements, even another OS.

      -My own solution requires some fiddling with the sqlite database and a good understanding of the structure of the database. I have syncs media and catalog or via Synctoy Windows files on an external drive. I create a copy of the catalog I have change in sqlite to point to the serial number of the external drive. The catalogue of the external drive and media are available to any computer with the same version of elements. The advantage of the 'synctoy' method is that it is much easier and faster than an incremental backup in the Organizer.

    • Sync Call Logs between iPhone and iPod Touch

      I am considering setting up WiFi calling on my iPhone and adding my iPod touch as a secondary device. My question is: is my call synchronized between the two devices as well logs? Basically, I want to know whether continuity will that my incoming and outgoing call logs of conversations made on my iPhone appear on my iPod touch. If so, they will appear in the tab voice of Facetime?

      Chrismo16 wrote:

      My question is: is my call synchronized between the two devices as well logs? Basically, I want to know whether continuity will that my incoming and outgoing call logs of conversations made on my iPhone appear on my iPod touch. If so, they will appear in the tab voice of Facetime?

      Yes, they will show in the Audio tab in FaceTime.

    • shared object synchronized between threads/listeners

      I don't know if I go about it the correct way.  I'm hoping that someone could help with this situation. Here is basically what I want to do:

      Have a FIFO queue object that contains the data to send to a web application that can be accessed synchronously between threads/listeners.  Given that the coverage of the data can sometimes be slow or even non-existent, I need to wait for the cover, maybe using CoverageStatusListener that runs on a wire and will suspend/resume the thread on state change.  All this must happen without the need of Auditors threads to wait.

      For example:

      data coverage is non-existent

      ListenerA needs to send data, it places in the queue

      data coverage is restored.  Data queue

      ThreadB needs to send the data until the transmission is completed. We need the data in queue

      transmission of complete, passed down from queue data is removed from the queue

      During all this time, I need ThreadB data exist also in the queue object and not be lost when the data is complete and is removed from the queue.  I need ThreadB to continue treatment and do not wait until the transmission is completed.  I played a bit with display of threads that are cycled every five minutes or so if they could not pass successfully, but that logic is not feasible.  Say you are out of the coverage of the data for an hour or two, but you end up needing to pass 50 items.  You have 50 son sitting there waiting to pass.  Or a listener for each point that everyone is trying to send at the same time.  What happens if the device dies or is reset?  I looked at RuntimeStore, but that does not record the data and I don't know what happens when 2 wires need to add data to the queue at the same time.  PersistentStore will not be able to hold the data if/when it becomes too large.

      Here it is the pseudo-code.  I know that some things will probably not work.  Just trying to get down the basic logic.

      public class TestFoo extends Application {
        public static void main(String[] args) {
          TestFoo foo = new TestFoo();
          foo.enterEventDispatcher();
        }
      
        public TestFoo() {
          CoverageInfo.addListener(new CoverageListener());
          ThreadA threadA = new ThreadA();
          threadA.start();
          ThreadB threadB = new ThreadB();
          threadB.start();
        }
        public class ThreadA extends Thread {
          public ThreadA() {
          }
          public void run() {
            while (true) {
              //do stuff
      
              if (/*something */true ) {
      
              }
            }
          }
        }
      }
      
      public class HTTPThread extends Thread {
        private boolean suspended;
        private FIFOQueue queue;
        public HTTPThread() {
          setSuspended(false);
          /*
           * get queue from filesystem???
           * or create new queue if not there???
           * load into RuntimeStore???
          */
        }
        public void run() {
          while (true) {
            if (isSuspended()) {
              try {
                wait();
              } catch (InterruptedException e) {
              }
            }
            //fetch queue from RuntimeStore???
            if (queue.isEmpty()) {
              try {
                wait(); //can notify us when an object is added to the queue???
              } catch (InterruptedException e) {
              }
            }
      
            if (hasDataCoverage()) {
              Object obj = queue.getHead();
              boolean successful = false;
              if (obj instanceof MyObject1) {
                MyObject1 myObject1 = (MyObject1)obj;
                //send data based on MyObject1 structure;
                //set successful
              } else if (obj instanceof MyObject2) {
                MyObject2 myObject1 = (MyObject2)obj;
                //send data based on MyObject2 structure;
                //set successful
              } else {
                //not a valid object of mine for some reason
              }
              if (successful) {
                //get queue again from RuntimeStore???
                queue.removeHead();
                //return queue back to RuntimeStore???
              }
            }
          }
        }
        public synchronized void setSuspended(boolean suspended) {
          this.suspended = suspended;
        }
        public synchronized boolean isSuspended() {
          return this.suspended;
        }
      }
      
      public class CoverageListener implements CoverageStatusListener {
        //Only location this will be started so only one instance exists
        private HTTPThread httpThread;  
      
        public void coverageStatusChanged(int newCoverage) {
          if (!httpThread.isAlive()) {
            httpThread = new HTTPThread();
            httpThread.start();
          }
      
          if (newCoverage != CoverageInfo.COVERAGE_NONE) {
            if (httpThread.isSuspended())
              httpThread.setSuspended(false);
          } else {
            httpThread.setSuspended(true);
          }
          httpThread.notify();
        }
      
      }
      
      public class ThreadA extends Thread {
        public ThreadA() {
        }
        public void run() {
          while (true) {
            //do stuff
      
            if (/*something */true ) {
              //Somehow put data into the queue
            }
          }
        }
      }
      

      I think that there are a number of; habits that will help you design it - the producer/consumer and observer patterns come to mind.  I'm not a design guru so will not pretend even to help you work through this.  But all I can say is that models provide generally well thought out structures for the problems that.  I encourage you to read about them.  You might find these useful references:

      http://www.javacamp.org/designPattern/

      http://zone.NI.com/DevZone/CDA/tut/p/ID/3023

      In general I'm not comfortable with your overall solution.  I would look at something like that

      (a) offer a 'service' to your users that collects the data to send.  There is no need to be a wire, it is just a method that they call and pass in the data.  These data are persisted.  This method 'Add' is owned by the transmission process and is the only visible part of the outside of the treatment.  This treatment should also begin sending wire (see b) if it is not executed.

      (b) have a thread that attempts to send the data.  You can launch this thread on changes in coverage if you want, but make sure that you can have a single run.  This thread should check coverage before attempting to send anything, and just end if there is no point of trying.

      (c) your submission Thread will get in situations where she send and does not receive a response from there is another error.  In this case I recommend the blocking of the Thread for a time and then try to send again.

      (d), I said in (a) that the add-in has been the only visible part of the outside of this treatment.  However you're better instrument your process so that users can find out if your thread is running, how much he sent, if the last transmission worked or not of data and so on.

      Treatment based on a vector of data to send.  Synchronize on this vector before changing.  In the "add step (a), add an element to the vector."  In processing step (b) delete the first item when you have treated.

      There is a problem with this design in that there may be overlap if the sending thread terminate because it has nothing to do and add treatment add something and does not start the Thread because it is actually running.  You must code carefully around that.

      I hope this helps.

    • What is the difference between SyncToy and LiveMesh, Windows 7

      Can someone clarify the difference between SyncToy and LiveMesh? Thank you.

      * original title - synchronize files and Folders.*

      Hello

      Sync Toy: Sync Toy is a free Power Toy designed by Microsoft that provides an easy to use graphical user interface that can automate synchronizing files and folders

      Windows Live Mesh (formerly Live Meshand Windows Live Sync and Windows Live FolderShare) is a free to use online file synchronization application by Microsoft that is designed to allow files and folders between two computers or more to be in harmony with each other on Windows (Vista and later) and Mac OS X (v. Leopard 10.5 and later) computers or on the Web via Windows Live SkyDrive. Windows Live Mesh also provides desktop access remotely via internet

    • Sharing the values of substitution variables complex between ASO and BSO of databases

      We ASO and Essbase BSO names of members of database with spaces in and need to store some of these member names in the substitution variables. However, this should be done differently for ASO and BSO, due to script syntax calc requiring double quotes and MDX requiring hooks. For example:

      ASO:
      & CurWeek value = 1 week
      MDX: [& CurWeek]

      ASF:
      & CurWeek value = "week 1".
      Calc script: & CurWeek

      Therefore, the substitution variables can be shared between ASO and BSO, cubes because the value of the variable BSO requires double quotes because of the space in the name of the Member.

      Is there a way to get the above to work with ASO and OSB? Unable to escape the quotes in the calc script syntax? Or double quotes can be removed in the MDX formula?

      Yuck! I'm curious to see if someone has a really elegant solution to this. :)

      I'm sure you have seen this already, but a workaround is to create an alias that is not a space (or probably better, use a name without a space Member but leave some space in the alias).

      What is your specific motivation to avoid the solution two variables? If it is purely of synchronization, do not forget that even with a variable unique no guarantees of the formulas of Member ASO and BSO calc scripts will be always synchronized without a response, because the formulas (by the SER60) pick up not a new value until the application is restarted.

    • Difference between 'Reload' and "Reload (Override Cache)"?

      Https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly#w_navigation, what is the difference between 'Reload' and "Reload (Override Cache)"? What makes "ignore cache"?

      Reloading Web pages and cache bypass aims to obtain a new copy of perhaps obsolete or damaged files currently stored in the disk cache.
      You can do it like the first attempt if a normal charging does not seem to provide a version of a Web site or if you are having problems with a Web site otherwise.

      We usually have advice that if you have questions:

      Reload Web pages and ignore the cache to refresh potentially stale or corrupt.

      • Hold down the SHIFT key and click the Reload button
      • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
      • Press 'Command + shift + R' (Mac)

      Clear the cache and delete cookies only from Web sites that cause problems.
      "Clear the Cache":

      • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

      'Delete Cookies' sites causing problems:

      • Firefox/tools > Options > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".

      Start Firefox in Safe Mode to check if an extension or theme (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problems.

    • What happened between Firefox and Roboform? FF no longer mentions RF in its modules!

      What happened between Firefox and Roboform? FF no longer mentions RF in one of its modules.

      I'm having the same problem. RoboForm contacted and they act like they have no idea there is a problem.

    • Parachute does not not between iOS and Mac devices... Does anyone have a good solution for it nor a lot of garbage to support

      Parachute does not not between iOS and Mac devices... Does anyone have a good solution for it nor a lot of garbage to support

      You want the solution? Why not tell us what Mac and Apple, mobile devices you have the OS and version?

      Also what troubleshooting steps you took?

      We do not have a crystal ball, and we're not sitting next to you.

    • Not synchronized between iCloud & MS Outlook notes

      Hi, I use Microsoft Outlook 365 (2016 edition) x 32, Windows 10 x 64. I use Notes and synchronize them between my iPhone 5 and iCloud without any problem. I installed iCloud lates for Windows and have no problem with sending & receiving e-mails and synchronize tasks between iCloud and MS Outlook. I don't use iTunes to sync my tasks and mails.

      The problem. Fiolder 'Notes' in Outlook (in iCloud folder) is completely empty, but it should contain my Notes here. I tried to reinstall iCloud for Windows without success. I need to resolve, to work with the Outlook Notes. At a minimum, I want to read offline - now I have to open the browser and go to iClouds.

      How to solve this problem?

      Hi gedonis,

      Thank you for using communities Support from Apple. I know that notes can be extremely useful, especially when it syncs through everything. I will be happy to provide you with resources to help get this work with Outlook.

      With your iPhone, it seems very likely that you have already upgraded your notes to the new version. If this is the case, note what is mentioned here:

      iCloud: see notes iCloud to Microsoft Outlook on a Windows computer

      «.. . If you upgrade iCloud Notes on a device with iOS 9 or OS X v10.11, notes in Outlook are not updated with notes on iCloud.com day or your devices with iOS 9 or OS X v10.11. »

      If you have not yet upgraded your notes, see the additional troubleshooting we provided here:

      Get help using Outlook with iCloud for Windows

      Make sure that the Outlook Add-in iCloud is enabled

      1. Select the file menu.
      2. Click Options in the left panel.
      3. Click on add-ins in the left panel of the window Options in Outlook.
      4. Look at the list of add-ins in the Application Active Add-ins section.
      5. Select the Outlook Add-in iCloud.

      Have a great rest of your day! See you soon.

    • What is the best between Firefox and Aurora?

      What is the best between Firefox and Aurora?

      Hello DarshanK, that depends on what type of user you are probably: https://www.mozilla.org/firefox/channel/

    • is there a difference between 38 and 42mm with their pixel density?

      is there a difference between 38 and 42mm with their pixel density? the 38mm and 42mm watches have same interns?

      You can see the technical details of the Apple Watch here. Apple - Support - technical specifications

    • What is the difference (if any) between iPhoto and iPhoto library? I managed to delete my pictures in freeing up space, but have a backup available. Do I have to download these two files in the pictures folder is one duplicate of the other?

      What is the difference (if any) between iPhoto and iPhoto library? I managed to delete my pictures in freeing up space, but have a backup available. I need to restore these two files in the folder images or one is one duplicate of the other?

      I use a MacBook Air 2013 model with a backup on a WD MyBook Duo disc for storage wireless as the Apple Time Machine.

      The Photos and the iPhoto library are totally separated - neither one is connected to the other somehow--you want to restore the library you need

      LN

    Maybe you are looking for