GeeKs Blogging @ dotCOM

Let's share…
  • Home
  • About
  • Contribute
  • How To – FAQs
  • Disclaimer
  • Terms & Conditions
3 May 2009

Siebel – EAI Queue – Usage

by Nitin Jain


I had introduced the concept of Siebel EAI Queues in my last post. You can read it here.

Today, I would discuss its usage, as to how we can use it in our implementations.

A simple ‘About View’ of the EAI Queue screen shows us that the two applets are based on the following -

Business Component Table
EAI Queue S_EAI_QUEUE
EAI Queue Item S_EAI_QUEUE_ITM

The usage of these Siebel EAI Queues is through the vanilla Business Service, “EAI XML Queuing Service”. The various self explanatory methods on this Business Service are:
AddMessage – Add message to the EAI Queue
DeleteMessage – Delete message from the EAI Queue
GetMessage – Retrieve a message from the EAI Queue
UpdateStatus – Update the status of an existind message on the queue
GetStatus – Get the Status of a particular message on the queue. The messages supported OOB are – Confirmed, Error in Processing, Error in Sending, Initial, Processed, Sent

I will try to demonstrate the usage through a TEST queue.

Navigate to the screen Administration – Integration -> EAI Queue.
Do a NewRecord with the Queue name of your choice. I gave the name, “Nitin Test Queue”.

To use it, I created a simple two step workflow-
Step 1:
Query step using EAI Siebel Adapter. I made a simple query on Order Header. This returned a SiebelMessage.

Step 2:
Use the Business Service, “EAI XML Queuing Service”, method “AddMessage”.
Input Paramters:
QueueName Nitin Test Queue
ReferenceID Dummy-01
SiebelMessage
Status Initial

You will notice that a new record will be created on the EAI Queue screen. I noticed that Siebel uses the Windows temp directory as a temporary storage area. The working is something similar to the way Siebel handles the Attachments. Siebel creates separate attachment files in the Siebel Filesystem and exposes that through an interface. Siebel will autogenerate a Sequence Number everytime a new message is inserted into the EAI Queue.

Voila! No need for any customization. I have a ready made OOB solution which is scalable, robust and can be used for for Logging and Error Handling purposes. The best part is, I got it up and working in say about 5-10 minutes. Any other custom architecture could possibly take 2-3 resources working on it maybe for Weeks, if not months. They could be covering phases like conceptualizing, architecting, prototyping, implementing, testing, embedding in our flows, testing again, etc. However, a custom architecture comes with its own set of pros and cons. This may not just be the best of solutions after all. Stay tuned for my critique on EAI Queues..

Tags: Client, EAI, Scriptless solutions, Siebel, Tutorials



For regular updates, enter your email address below. We don't spam, we don't share with others!




This entry was posted on Sunday, May 3rd, 2009 at 10:33 PM and is filed under Siebel CRM. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

11 Responses to “Siebel – EAI Queue – Usage”

  1. steve says:
    May 4, 2009 at 3:28 AM

    This is an interesting Siebel functionality. I don’t think you need any custom modules after this, unless you have very specific requirements from the client.

  2. Kathir says:
    November 19, 2009 at 2:13 AM

    It is good article. Thanks for sharing the info and your time. Thanks

  3. Nitin Jain says:
    November 19, 2009 at 4:34 PM

    Thanks, Kathir. Appreciate your comments! :-)

  4. Madhvi says:
    March 15, 2010 at 6:17 PM

    Really nice post on EAI..
    Regarding this EAI Queue..I have a question(Being new to EAI)
    Does this mean that a new Queue will be created in system which is not connected to any system and when will simulate the above workflow, it will just place message in the queue which is not being listened by any system..

  5. Nitin Jain says:
    March 15, 2010 at 7:03 PM

    Yes, you are right. The messages just hold there.

    You have to create a new Custom component to read the messages on this queue, and take action as per the Business Requirement. Nice concept, eh? :-)

  6. nanpats says:
    March 23, 2010 at 8:41 PM

    EAI Queue is not typically a Queue (Queue Based systems like IBM MQ, JMS Queue or MSMQ wherein the data is stored as a CLOB object in one of the columns). Rather the data (the message which you intend to store) is stored as a file in the Siebel Filesystem. A link is provided on the UI to access the content easily by a single mouse click.

    Apart from storing messages for Interfaces, EAI Queue can also be used as a means to retry messages if interfaces fail due to system exceptions.

    Typically when you intend to use EAI Queue for integrations (wherein multiple interfaces have been implemented) here are some best practices to follow:
    1. A standard operating procedure has to be in place to archive the messages on a regular basis lest it will consume HD space on the application server host).
    2. The Reference Id, Additional Field 2, Additional Field 3 and Comments fields can be used to store some meaningful information which will allow an Admin or a developer per say to access the correct data set being searched for. Else search becomes a tedious process.

  7. Jason says:
    May 7, 2010 at 3:15 PM

    Hi Nitin,

    Does the “EAI XML Queuing Service” allow us to store the raw response XML in “EAI Queues” for error handling purposes, before it is converted to a SiebelMessage?

    Jason

  8. Nitin Jain says:
    May 10, 2010 at 11:05 PM

    Nice point, Jason. I haven’t tried it actually, but, I guess it’s possible. It could act as a complete Logging mechanism this way.

    Jason, why don’t you give it a shot, and update your findings on this post?! :-)
    I see this topic turning into a nice discussion here.

  9. Jason says:
    May 14, 2010 at 2:42 PM

    Hi Nitin

    The AddMessage method in “EAI XML Queuing Service” looks like it only accepts a SiebelMessage, which makes it pretty useless as a XML logger.

    You could get around this limitation, by injecting the XML into a wrapper IO, but it would be nice if we could log the raw XML.

    Jason

  10. Ann Berguine says:
    November 6, 2010 at 8:10 PM

    You certainly deserve a round of applause for your post and more specifically, your blog in general. Very high quality material

  11. Piewarrilia says:
    November 23, 2010 at 7:53 PM

    You certainly deserve a round of applause for your post and more specifically, your blog in general. Very high quality material

Leave a Reply

Click here to cancel reply.

You must be logged in to post a comment.


« Siebel – EAI Queue
Google goats – go green!! »



  • Admin Controls

    • Log in
  • Talk to us

    • Bouquets, brickbats, suggestions, complaints?

    • Click here...
  • Authorships

    • We are currently looking out for active authors. Are you willing to contribute?

    • Please click here

    • Everyone's invited..
  • Subscribe by Email


    • For regular updates, enter your email address below. We don't spam, we don't share with others!

  • Sponsors

  • Subscribe

    • Entries (RSS)
    • Comments (RSS)
  • Siebel Bookshelf

  • Daily Dilbert

    •          
  • Categories

    • Admin Notifications (9)
    • Business Intelligence (2)
      • Actuate (2)
    • CRM (117)
      • CRM News (6)
      • Sage Software / ACT! (1)
      • Salesforce.com (2)
      • Siebel CRM (105)
    • EAI (2)
    • Events (1)
    • FUN 'n' FROLIC (6)
    • Hot Technologies (7)
    • IT News (47)
    • Meet the Author (9)
    • ORACLE (15)
      • Database (2)
      • Oracle Fusion Applications Stack (8)
      • Oracle Policy Automation (1)
    • Product Demostrations (5)
    • Uncategorized (4)
  • Tag Cloud

    Admin Admin Notifications Applet Author Introductions Business Component Calculated Function Certification CFG file Client Configuration Critique CRM Database Debugging EAI EIM eScript Fundamentals Fusion Middleware Google IT News License Login Microsoft ORACLE Oracle Fusion Applications Performance problems Product Defect Product Demostrations Salesforce Scriptless solutions Security Server Siebel Siebel Secrets SOA Tips Tools Tricks Tutorials Upgrade User Property Workarounds workflows



  • Archives

    • February 2013
    • January 2013
    • August 2012
    • August 2011
    • July 2011
    • June 2011
    • May 2011
    • April 2011
    • November 2010
    • August 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
  • Authors

    • Ankit Bhardwaj
    • Ashish Kaul
    • brijesh
    • Himanshu Bajpai
    • Madhvi Arora
    • nanpats
    • Nitin Jain
    • Prachi Sharma
    • Renuka Ankam
    • Vikas Luthra
  • Administrators

    • geeksblogging@gmail.com
    • admin@geeksbloggingat.com

Fresh Ideas

  • Still confused about the Oracle roadmap for Siebel CRM ?
  • Oracle VM 3.2 Now Available
  • Oracle Policy Modelling (OPM) - Unable to compile Excel documents
  • Login Failed in Dedicated Web Client : MVF Issue
  • Oracle Fusion Applications price list
  • Research to Development - Fusion Apps Series
  • Oracle ACE Program
  • HCM user Experience through UI - Fusion Apps series
  • "Managing Oracle Fusion Applications"
  • Microsoft *previews* Windows 8 - Part 2 now available !!

Just Said

  • Abhay on Siebel – SIA BC Utility Service – Loop multiple records
  • SriRam Sudarsan on Siebel – Installer hangs midway
  • Joey on Oracle Policy Modelling (OPM) – Unable to compile Excel documents
  • chandra on Siebel – Unable to login to mobile client
  • Varun P M on Siebel – Installer hangs midway
  • Mat on Siebel – EAI Siebel Adapter – Looping Multiple Records
  • Nitin Jain on Siebel – EAI Siebel Adapter – Looping Multiple Records
  • Nitin Jain on Siebel – EAI Siebel Adapter – Looping Multiple Records
  • Mat on Siebel – EAI Siebel Adapter – Looping Multiple Records
  • Sheldon on Siebel – EAI JMS Transport

Most Commented

  • Siebel - SIA BC Utility Service - Loop multiple records
  • Siebel - Installer hangs midway
  • Siebel - Adding License Keys to Sample
  • Siebel - Reading data directly from Siebel SRF
  • Siebel - Popup Update Only
  • Siebel - Automatic User Logout
  • Siebel - EAI Queue - Usage
  • Siebel - Looping multiple records - Update records
  • Siebel - SIS OM PMT Service
  • Siebel Tools hangs when checking out objects

Old Favourites

  • Highrise Customer Relationship Management
  • Siebel - Autosave Opportunity data - Sample Code
  • Siebel - Autosave Opportunity data - The concept
  • Renuka Ankam
  • Siebel - Merge Records - Checklist
  • Siebel - Fetch Active view properties - III
  • Oracle 11g Certification coming soon
  • Siebel - Fetch Active view properties - II
  • Siebel - Fetch Active view properties
  • Siebel - Automating Merge Records by script - II

If you also want to write on GeeksBlogging@dotCOM, click here. Area of Specialization no constraint. Become Famous!


Entries (RSS) and Comments (RSS).