How to distinguish the type of object that came in the JMS message.

I have a queue that has 4 different object's being sent through messages across the queue. Depending on the object that comes in I need to determine what process to start. I have created a master project with a single queue listener that will start the master process. Either before the listener starts the master process or after the master process starts in a method I need to figure out the type of object that was contained in that method. In Java its simply if(msg InstanceOf ObjectB), else if (msg InstanceOf ObjectC)....and so forth. What is the way this would be done in ALBPM6.0's fuego code or whatever it is called?

In case you had an ID, which is assigned automagically on emp, this could also be written like this:
create trigger emp_trig
after insert or update or delete on emp
for each row
begin
insert into emp_log values(
:new.empno, :new.ename,
decode(nvl(:old.id,-1),-1,'Insert',decode(nvl(:new.id,-1),-1,'Delete','Update')), sysdate);
end;
..where -1 is a value you do not expect to be propagated ever in id column. Also, :new.empno and :new.enmae will be null if the dml being executed is a delete statement.

Similar Messages

  • HT4060 Is it normal for someone to have general diffuculty charging an ipad?  I see the "not charging" message even when I am using the charger and cord that came in the original box, plugged into a wall socket directly.  It just seems to be exceedingly f

    Is it normal for someone to have general diffuculty charging an ipad?  I see the "not charging" message even when I am using the charger and cord that came in the original box, plugged into a wall socket directly.  It is normal for me to plug it in overnight and to see no charge whatsoever the next day.  I have never had so much trouble using a friggin charger in my life.  It just seems to be exceedingly finicky.  What am I missing?

    Charging your iPad should not be problematic. It should be an easy thing to do using the charger provided with your iPad connected to a known good wall outlet.
    The charging problem you are experiencing is most like caused by:
    1. A faulty charger
    2. A faulty cable
    3. A bad wall outlet
    4. A problem in the iPad.
    The first three of these are easiest to eliminate. Try a for ends charger and cable. Make absolutely sure your outlet is good. Try other outlets.
    If the charger, cable and outlet a proven to be good then the problem lies in the iPad.
    Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support.

  • I have the curve but was never able to open the download manager disc that came with the phone. i have a mac computer. i do not have the internet on my phone. i would like to backup my phone book. thankyou, joan

    i have the curve but was never able to open the download manager disc that came with the phone. i have a mac computer. i do not have the internet on my phone. i would like to backup my phone book. thankyou, joan

    Unfortunately I lost my life and am trying to rebuild.  Isn't the technical era great.
    Backup, backup, backup
    As a minimum, use 3-2-1 (or even more)
    3 copies of your data (original copy counts as 1)
    2 different backup utilities/storage formats (protects from bugs in the software)
    1 copy off-site (protects against theft, fire, and natural disaster)
    More backup copies are even better.
    Backup disks are cheap compared to the lost of personal data that does not exist anywhere else.

  • The BLUE Default Theme That Came With The N73 & N8...

    Morning everybody?
    I've had a few Nseries handsets such as the N70,N73 and the N80 and now i have the N95 i'm really missing the Nokia theme (Blue with the blue circles,square clock with white hands) as it's been replaced with the Turquoise theme which is nice but not a patch on the old Nokia theme.
    I have a copy of it but it's not the original which i'm really after.
    Is there anyone out there preferably from Nokia that knows where i could get it from?
    My thanks to you all in advance
    Grayburn @ www.nokiausers.net & www.dailymobile.se....come say Hello!!!
    If you appreciate ANY help from a member,then show it by clicking on the Blue Star button, cheers

    26-Jul-200711:38 AM
    dance wrote:
    26-Jul-200711:36 AM
    grayburn wrote:
    Why would there be copyright issues when it's a Nokia theme on a Nokia phone?
    it's bound to some phones... I tried to get a standard Nokia tune from the N70 on the N73, couldn't do this due the fact it's phone-bound (copyright was not the good word )
    Nokia tune?
    Are you on about tones,i know how to get tones off the phone,which one was it?Message Edited by grayburn on 26-Jul-200711:57 AM
    Grayburn @ www.nokiausers.net & www.dailymobile.se....come say Hello!!!
    If you appreciate ANY help from a member,then show it by clicking on the Blue Star button, cheers

  • Reason for the 2 Power Adapters that came with the Macbook?

    New macbook owner here. whats the deal with the power adapter? one connection to the wall can simply be latched onto the white square, im sure you know what im talking about. like an ipod wall charger.
    the second is the most traditional one when it has a long cable connecting to the wall and then to the white apple square thing.
    whats the point of each one? is the longer one for better home and the small connecting one most portable? if this is the case which charges better? no difference? whats the deal? im so confused!

    One is used as an extension for the other. I think it shows that in the manual

  • How do you compile "type body" objects that are invalid?

    We just completed a few application upgrades and now the objects catindexmethods and textindexmethods are invalid. These are part of our intermedia install but haven't started using it yet. How to I recompile these objects to be valid again?

    Did a little deeper and you shall find it:
    alter type xxx compile body;

  • How can I disable the sync alert popup that came with the new Lion update?

    Lately a Sync Alert window has been popping up in the middle of the computer screen at odd and inconvenient times. The message is: "Syncing with Google Contacts will change more that 25% of your contacts or groups on this computer." Then there are buttons for "Show Details," "Sync Later" and "Sync Conacts." These alerts started popping up a few days ago. I have searched in the Google apps to which I subscribe as well as Preferences and Utilities for whatever initiates this alert but can't find anything. Anybody know how to put a stop to these alerts?

    Hi,
    I think that you may have tried signing in to photoshop.com which no longer exists.
    Please see if this document helps.
    http://barbarabrundage.com/2013/09/16/pse-8-9-10-cant-sign-in-error-404/
    Brian

  • Ipad 4 not charging with the ORIGINAL Power adapter that came in the box. Can't charge my iPad. I plugged in on PC all night and has been charged to 7%

    Yesterday, as usual was going to charge my iPad, it was at 1%. Well, I took my ipad charger (original Apple official, I want to clarify that as a first step, I'm using the brand products than Apple) and plugged into an outlet ... The ipad began loading the first two minutes , then I got a notification telling me that the iPad could not charge with the charger.
    I was quite surprised by the announcement. I disconnected and reconnected it .... again, I received the same notification. Then I disconnected and tried it on another outlet ... anything, yet. then I tried it on another outlet and ipad started charging. but after a while I had the same notice, not paying attention to that. I left it charging and I removed roughly 25% that of fear for something to happen. also remembered that situation (made 2-3 months ago where the iPad was not charging but after waiting a while disconnected, reconnected it and loaded normally).
    so I decided to wait to re-connect the iPad to the outlet. This time, I plugged it into the outlet (fully discharged) at night and expected to find it loaded in the morning. But my surprise is that it still is off, it did not load anything.
    I Bought the iPad in December 2012. Do you think that my iPad is hurt?
    What can I do? Ay recommendation?
    Please, HELP ME!

    Try giving your iPad a reset. Hold down the sleep and home keys until you see the silver apple. Let it reboot and try again.  You may also want to swap out the cable, just to confirm or rule out that it's bad.
    If none of those fixes work, make the appointment at your apple store and have them check it out.

  • How to create multiple TYPES of objects from one menu?

    Q: How can I create a single class to create objects of multiple 'object classes' in a way that is not a huge switch statement?
    Explaination:
    Let's say that I have an application that I am building, that manages five hundred object types. A properly-built object subclassing tree is created, and I want to be able to create objects of any 'leaf node' of this subclassing tree using a single 'objectCreate()' method in a 'factory object'. The purpos of this method will be to create an instance of the correct object, pass a handle to a few collections for properly sorting and storing these objects in groups.
    Usually, one could create a switch in this function, testing for the type of object that the user wants to create from the menu. But in the case of having hundreds of possible object choices, this becomes harder and harder code to maintain (let alone performance).
    Any suggestions?

    But if my menu has:
    1. German Shepard
    2. Doberman Pinscher
    3. Malamut
    4. Persian Long-hair
    5. Siamese
    6. Tabby
    And my object class tree goes:
                                  [ Animal ]
                 [ Cat ]                              [ Dog ]
      [ various breeds ]                         [ various breeds ]How do I code the menu class to respond to the input, so that it runs the correct [breed] object's constructor?
    The line:
    Animal choice = new xxxxxxxx();
    I can't use a variable to replace 'xxxxxxxx' in run-time, but having a ton of choices in code sounds/looks unreasonable.
    if (choice == "Doberman Pinscher")
    Animal choice = new doberman();
    else if (choice == "Tabby")
    Animal choice = new tabby();
    Do you see what I am trying to avoid? I am not experienced enough to instantly realize how to avoid the latter, and instead, do a single instantiation command for the correct constructor.

  • Droid RAZR HD won't charge with either cable that came with the new phone.

    My RAZR HD will not charge using either of the USB charging cords that came with the phone and I have tried several different USB/wall type adapters.  I have to use a generic charger (not a USB cord, just a straight outlet to phone type).  The data cable that connects the phone to my laptop works so it doesn't seem like it is a connection problem.  Is anyone else having this trouble?

    Thank you for the reply.  After much trial and error I finally discovered
    that the USB/outlet adapter cannot be plugged into any type of outlet
    adapter (like converting two outlets to 4 or 6 in a wall outlet), extension
    cord, or power strip/bar to function.  It must be plugged directly into the
    wall socket (or computer) in order to charge.
    On Mon, Nov 18, 2013 at 10:07 AM, Verizon Wireless Customer Support <

  • My hard drive on my Mac Book Pro failed last week.  I replaced the hard drive today and had to use my snow leopard disc that came with the computer to get teh thing going.  I was running Mt Lion which I had purchased last year on the old dr

    The hard drive on my Mac Book Pro failed last week.  I just put a new Samsung SSD in this thing and had to load the Snow Leopard OS that came with the computer.  I had Mt. Lion on the old drive that I had purchased last year but no boot disc made.  I have made several attempts to get the Mt lion soft ware on the computer but the Apple store does not have it only mavericks but my Snow Leopard version is too old for it so I cant get it either.  How do I get something to run the software that I had on the old drive?

    Unfortunately I lost my life and am trying to rebuild.  Isn't the technical era great.
    Backup, backup, backup
    As a minimum, use 3-2-1 (or even more)
    3 copies of your data (original copy counts as 1)
    2 different backup utilities/storage formats (protects from bugs in the software)
    1 copy off-site (protects against theft, fire, and natural disaster)
    More backup copies are even better.
    Backup disks are cheap compared to the lost of personal data that does not exist anywhere else.

  • I want to clean the HDD back to as new but have lost the disks that came with the Macbook Any ideas please

    I want to clean the HDD back to as new but have lost the disks that came with the Macbook Any ideas please

    You will need either the system DVD's that came with the MacBook or a retail Snow Leopard DVD...
    ....call Apple Customer Service to replace your original DVD's ( $ and a serial# required).....1-800-676-2775

  • How to find the type of objects contained in a Stored Package?

    Hello,
    I need to populate all the procedures and functions contained in a package. I have rewritten a query like this
    "SELECT PROCEDURE_NAME FROM ALL_PROCEDURES WHERE OBJECT_NAME = 'MYPACKAGENAME'
    Above Query returns a record, having NULL PROCEDURE_NAME value. Why?
    I also want the 'type' of object (stored procedure/function ) contained in the a package.
    How to fetch it?
    Following query always returns object type 'PACKAGE', which is of no use for me. I want to know if it is stored procedure or function.
    SELECT PROCEDURE_NAME, *OBJECT_TYPE* FROM ALL_PROCEDURES WHERE OBJECT_NAME = 'MYPACKAGENAME'
    Cheers,
    Machhindra

    Hi,
    Just thinkin Out of Box way... :-
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    F:\Documents and Settings\Administrator>sqlplus scott/tiger@service1
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 26 21:49:03 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> CREATE OR REPLACE PACKAGE emp_mgmt AS
      2  FUNCTION hire (last_name VARCHAR2, job_id VARCHAR2,
      3     manager_id NUMBER, salary NUMBER,
      4     commission_pct NUMBER, department_id NUMBER)
      5     RETURN NUMBER;
      6  FUNCTION create_dept(department_id NUMBER, location_id NUMBER)
      7     RETURN NUMBER;
      8  PROCEDURE remove_emp(employee_id NUMBER);
      9  PROCEDURE remove_dept(department_id NUMBER);
    10  PROCEDURE increase_sal(employee_id NUMBER, salary_incr NUMBER);
    11  PROCEDURE increase_comm(employee_id NUMBER, comm_incr NUMBER);
    12  no_comm EXCEPTION;
    13  no_sal EXCEPTION;
    14  END emp_mgmt;
    15  /
    Package created.
    SQL>
    SQL> SELECT PROCEDURE_NAME FROM ALL_PROCEDURES WHERE OBJECT_NAME = 'EMP_MGMT';
    PROCEDURE_NAME
    CREATE_DEPT
    HIRE
    INCREASE_COMM
    INCREASE_SAL
    REMOVE_DEPT
    REMOVE_EMP
    6 rows selected.
    Now you requirement
    SQL> SELECT PROCEDURE_NAME,A.OBJECT_NAME,OBJECT_TYPE FROM ALL_PROCEDURES A, USER_OBJECTS UO WHERE UO.OBJECT_NAME = A.O
    BJECT_NAME AND A.OBJECT_NAME='EMP_MGMT';
    PROCEDURE_NAME                 OBJECT_NAME
    OBJECT_TYPE
    REMOVE_EMP                     EMP_MGMT
    PACKAGE
    REMOVE_DEPT                    EMP_MGMT
    PACKAGE
    INCREASE_SAL                   EMP_MGMT
    PACKAGE
    PROCEDURE_NAME                 OBJECT_NAME
    OBJECT_TYPE
    INCREASE_COMM                  EMP_MGMT
    PACKAGE
    HIRE                           EMP_MGMT
    PACKAGE
    CREATE_DEPT                    EMP_MGMT
    PACKAGEIn oder to know the type of Object why don't you simple decribe in order know the Object definition it self.. instead of firing queries...Don't you thinl it easy of use.. !! you will get better Explanation about your Package
    SQL> desc EMP_MGMT;
    FUNCTION CREATE_DEPT RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    DEPARTMENT_ID                  NUMBER                  IN
    LOCATION_ID                    NUMBER                  IN
    FUNCTION HIRE RETURNS NUMBER
    Argument Name                  Type                    In/Out Default?
    LAST_NAME                      VARCHAR2                IN
    JOB_ID                         VARCHAR2                IN
    MANAGER_ID                     NUMBER                  IN
    SALARY                         NUMBER                  IN
    COMMISSION_PCT                 NUMBER                  IN
    DEPARTMENT_ID                  NUMBER                  IN
    PROCEDURE INCREASE_COMM
    Argument Name                  Type                    In/Out Default?
    EMPLOYEE_ID                    NUMBER                  IN
    COMM_INCR                      NUMBER                  IN
    PROCEDURE INCREASE_SAL
    Argument Name                  Type                    In/Out Default?
    EMPLOYEE_ID                    NUMBER                  IN
    SALARY_INCR                    NUMBER                  IN
    PROCEDURE REMOVE_DEPT
    Argument Name                  Type                    In/Out Default?
    DEPARTMENT_ID                  NUMBER                  IN
    PROCEDURE REMOVE_EMP
    Argument Name                  Type                    In/Out Default?
    EMPLOYEE_ID                    NUMBER                  IN
    SQL>- Pavan Kumar N

  • How can we restrict the type of components that can be dragged and dropped from the sidekick CQ

    how can we restrict the type of components that can be dragged and dropped from the sidekick CQ

    Generally drop the components at parasys. The components allowed on the parsys is control via the design mode of the page.So restrict components at the design of the parsys. http://dev.day.com/docs/en/cq/current/wcm/working_with_cq_wcm/using_edit_designandpreviewm odes.html#Design%20Mode

  • How to change the default BC image that shows in the address bar?

    Does anyone know how to change the default BC image that shows in the address bar? I want to swap it out so the client logo shows next to their URL.
    Thank you!

    Hi,
    If you are trying to change the favicon for your site,
    You can do it from Site Manager-> Page template -> Default Template
    Look for the code   <link type="image/x-icon" href="/Path for your image" rel="icon" />, and Click save.
    Now where you will use this template, it will display your favicon for that webpage instead of BC favicon. You can define it on Page directly if you are not going to use template.
    Please let me know if you have any doubt.

Maybe you are looking for