How to read message from Active MQ using OSB

Hi All
I want to read from Active MQ ( situated on another server) using OSB (11g). My condition is
Active MQ---> OSB---> DB Tables
I know how to use BPEL to do this but I need to use OSB to do this. Client which puts data to Active MQ also puts data ( like eventtype)to its header and on basis of header(eventtype) I need to route the message to proper tables. Please let me know how can I do this and if any step by step info is available for this ( I checked on many blogs but couldn't find any).
Thanks very much
Regards
Gaurav

Did you try creating a MQ transport proxy service in OSB -
http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15866/mq.htm#BGEFJHAF
Regards,
Anuj

Similar Messages

  • How to Read Message from JMS Queue using Business Service(ALSB3.0)

    Hi,
     My Project Set up is as follows(using ALSB3.0).
    1>One Proxy Service with transport as HTTP.
    2>The Proxy service is calling another Business Service.
    3>The Business Service has transport layer as JMS.
    So here the business service is posting Request Message into the JMS queue.
    I want at the same time it(The Business Service) should listen to another queue and from there it should read Response Message and forward back to the caller proxy service.
    Can any one help me regarding this...
    Thanks in advance...
    Deba

    Hi ,
    Problem in : Reading / writing messages to the JMS Queue -
    I am stuck with the same problem and I am not able to proceed futher, Can you please help me out in sending an example of how to do right configurations in ALSB and on the server. I read the documentation but still I dont see messages in the queues.
    please help me out. can you post a small sample example
    thanks
    adi

  • How to view messages from another iPhone using your apple Id

    How to view messages from another iPhone using your apple Id

    Sign into iMessage using the same ID (in Settings>Messages>Send & Receive).  The other phone should then see your messages too.

  • How to read data from a file in OSB

    hi guys,
    Recently, I've got a problem with reading file from specific location. I've actually followed this post OSB 11g - Read or Poll File in OSB - Oracle Fusion Middleware Blog, and then
    I know how to read a file. However, it does not as expected. Because, I've found no way to read data from the file. Therefore, no chance to manipulate the data like assigning to a variable, or extracting ....
    Hence, is there any way to read data from file by using proxy service in OSB ??? No Java code ???
    by the way, supposed that there is no way to read data from a file in OSB. So, What purposes will the way in the post above be used for?
    Many thanks in advance

    http://jakarta.apache.org/poi/hssf/index.html
    HSSF stands for Horrible Spreadsheet Format, but it still works!

  • How to read message from MQ's by using MDB

    Hi All,
    Can any body help me,my requirement is like reading the messages from MQ and then insert into database.I did this in OSB but The same requirement has to done by using MessageDrivenBeans.
    Regards
    Mani

    Please don't cross post.
    Moderator action: I'm locking this thread.

  • How to read message from JMS queue as a ByteMessage

    Hi,
    i want to browse a xml message from a JMS queue(in Weblogic 8.1) as a ByteMessage instance and then need to put it into byte array .
    Then i want to read each byte by byte from that array.
    Can any one please help me to solve it.
    (i am using java language in the program to browse message from a queue).
    Thanks in advance.
    Regards,
    Deba

    You can refer to the following link for the detailed steps :-
    Link :[http://www.informit.com/articles/article.aspx?p=170722&seqNum=3]

  • How to read records from Relationship table using ABAP API's

    Hi All,
    I need to retrieve the records from Relationship table. In Java API's I came to know there is an option to retrieve this. I could not find anything in ABAP API's. Is there any option in ABAP API's to do this.
    Please Suggest.
    Thank You,
    Gajendra.

    Hi Gajendra,
    You can mainly read records from MDM (in a DDIC structure) using ABAP API's using the following function modules/methods:
    1. RETRIEVE: This is used to generically retrieve records from tables. Attributes and Values can also be retrieved.
    2. RETRIEVE SIMPLE: Retrieve records from MDM in a simple way.( simple data types).
    3. RETRIEVE CHECKOUT: Retrieves all checked out ID's.
    4. RETRIEVE ATTRIBUTES: Retrieves attribute(s) from a Taxanomy table.
    You will find all these methods in the following interface
    Interface : IF_MDM_CORE_SERVICES
    Hope it helps.
    *Please reward points if found useful.
    Thanks and Regards
    Nitin Jain

  • How to read messages from IBM MQ's by using MDB

    Hi All,
    Can anybody help me,My requirement is like MDB will listen to a MQ and then inserting this message in to the data base table.This MDB projet has to deploy in weblogic server.Plz rovide any documents or else sample code.
    Thanks
    Mani

    Mani wrote:
    Thx PhHein,
    For ur quick reply,there is no such information for meeting my requirement. Then I guess you should be looking for another solution. I'm pretty sure you just need to perform better research though. Try different search terms, spend more time reading and comprehending search results, etc.

  • How to read messages from mqseries continuously by java?

    Hi,
    I'm sending messages to the queue of MQSeries.
    Here my requirement is i have to write a java/jms program that should run at the back side and check the queue  for every 5 minutes for messages.If any message exists in the queue the java/jms program should read the message and display it on the console.
    If anybody has idea please reply it.
    thanks in advance

    Hi!
    You have many ways. You could define a cron on a UNIX box to make sure a simple command line app connects to the queue every 5 min and uses JMS API to read the queue and do whatever you need with the messages.
    http://java.sun.com/products/jms/javadoc-102a/index.html
    On the other hand, unless its critical to recover messages just every 5 min., you could create an MDB. Actually this is the best solution: a Message Driven Enterprise Java Bean is just a listener over the queue reacting instantly to every message received. The way to create and configure them depends strongly on your appserver and development process: an IDE as WSAD or something like that creates them very easily. The actual problem with these ones is to properly configure them on your appserver. However, all appservers will allow you to define a 'Foreign JMS Provider' or something like that pointing to the actual MQ implementation you have and define an activation specification on which to sit your MDB.
    Regards
    Jorge

  • How to read data from an excel using abap program?

    Hi
    I have to write an abap program to read the contents of ms excel across various
    sheets. Can any one help me regarding this
    Thanks in advance
    Satish

    Hai Satish,
    <b>You save  all your Excel sheets as Text Tab Delimited.</b>
    And then for each teext file can be uploaded into your daabase table.
    See the Report that  i have done.
    REPORT Z_UPLOAD_TO_DATABASE_TABLE.
    TABLES:
      ZDETMAST.                        " Database table to be uploaded
    Data declaration of the structure to hold ZDETMAST(zdetcode) data  *
    DATA:
      BEGIN OF FS_ZDETMAST,
        CNT(3)      TYPE C,                " Client
        DETCODE(15) TYPE C,                " Det Code
        DETCAT(1)   TYPE C,                " Det category
        DETTYPE(2) TYPE  N,                " Det type
        DETDESC(30) TYPE C,                " Det description
        PFLAG(1)   TYPE C,                " Det Flag
        TOTALDR(10) TYPE C,                " Total DR
        TOTALCR(10) TYPE C,                " Total CR
      END OF FS_ZDETMAST.
    Internal table to hold ZDETMAST(zdetcode) data                     *
    DATA:
      T_ZDETMAST LIKE STANDARD TABLE OF FS_ZDETMAST.
    Function Module to upload ZDETMAST Data
    CALL FUNCTION 'GUI_UPLOAD'
       EXPORTING
         FILENAME                      = 'D:/ZDETMAST_2.TXT'
         FILETYPE                      = 'ASC'
         HAS_FIELD_SEPARATOR           = 'X'
        HEADER_LENGTH                 = 0
        READ_BY_LINE                  = 'X'
        DAT_MODE                      = 'DAT'
        CODEPAGE                      = ' '
        IGNORE_CERR                   = ABAP_TRUE
        REPLACEMENT                   = '#'
        CHECK_BOM                     = ' '
        VIRUS_SCAN_PROFILE            =
      IMPORTING
        FILELENGTH                    =
        HEADER                        =
        TABLES
          DATA_TAB                      = T_ZDETMAST
       EXCEPTIONS
         FILE_OPEN_ERROR               = 1
         FILE_READ_ERROR               = 2
         NO_BATCH                      = 3
         GUI_REFUSE_FILETRANSFER       = 4
         INVALID_TYPE                  = 5
         NO_AUTHORITY                  = 6
         UNKNOWN_ERROR                 = 7
         BAD_DATA_FORMAT               = 8
         HEADER_NOT_ALLOWED            = 9
         SEPARATOR_NOT_ALLOWED         = 10
         HEADER_TOO_LONG               = 11
         UNKNOWN_DP_ERROR              = 12
         ACCESS_DENIED                 = 13
         DP_OUT_OF_MEMORY              = 14
         DISK_FULL                     = 15
         DP_TIMEOUT                    = 16
         OTHERS                        = 17
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.                                 " IF SY-SUBRC <> 0.
    LOOP AT T_ZDETMAST INTO FS_ZDETMAST.
      WRITE:
        / FS_ZDETMAST-CNT,
         FS_ZDETMAST-DETCODE,
         FS_ZDETMAST-DETCAT,
         FS_ZDETMAST-DETTYPE,
         FS_ZDETMAST-DETDESC,
         FS_ZDETMAST-PFLAG,
         FS_ZDETMAST-TOTALDR,
         FS_ZDETMAST-TOTALCR.
    ENDLOOP.                               " LOOP AT T_ZDETMAST ...
    LOOP AT  T_ZDETMAST INTO ZDETMAST.
       IF SY-TABIX GE 2.
         INSERT ZDETMAST.
        DELETE ZDETMAST.
       ENDIF.                              " IF SY-TABIX EQ 2
    ENDLOOP.                               " LOOP AT  T_ZDETMAST
    Hope this helps you a lot.
    <b>You can also use ALSM_EXCEL_TO_INTERNAL_TABLE FM to have excel data in ITAB AND THEN YOU CAN INSERT DATA INTO DATABASE TABLE.</b>
    <b>Reward points if it helps you.</b>
    Regds,
    Rama chary.Pammi

  • How to read messages from AQ

    hi,
    is there any possibility to view the messages of queue? Is there any query to view all messages that are present in the queue? I can able to dequeue message using Java client. But i would like to see messages present in the queue using some query/procedure?
    Thanks,
    naga

    Hi,
    You can check the view AQ$queue_table. where "queue_table" is the name of your queue table.
    Regards,

  • How to read xmlfile from a directory using plsql

    Hi all.
    Any body please help me in reading an xml file from a directory by using plsql or sql
    Thanks

    I would say you are looking for
    BFILENAME
    In addition to the example from the documentation, here is one of the many examples from the forum
    insert .xml file into xmltype table?

  • Reading message from inbox

    I want to write a J2ME application which will read message from inbox.i used the following code to open fileconnection with inbox
    FileConnection filecon = (FileConnection)
    Connector.open("file:///c:/system/mail/directory");
    I am using Nokia 6610i.I am getting the following error:"The requested protocol does not exist file:///c:/system/mail/directory"
    Can anyone help me out?

    Hi
    If you want to be able to store data and then retrieve it, the you can use RMS, but if you want to get data already stored on your phone then you need the FileConnection API. There is no work around this as far as I know.
    Mihai

  • Read data from ODS table using value mapping

    hi all;
    can anyone help on how to read data from ODS table using value mapping

    Mudit,
    Take a look at this blog,
    <a href="/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler">DB Lookup in Mapping</a>
    Regards,
    Bhavesh

  • How to read data from a router by using labview

    I am a  beginner labview. How to read data from a router by using labview ? 

    What kind of data are you trying to read?
    Does the router behave like a webserver that you log into?  If so, search the forums for threads discussing HTML.

Maybe you are looking for

  • Question on what CR 2008 report type to use for a report

    Post Author: JohnN CA Forum: General Hi all,         I am new to Crystal Reports and have been tasked with using Crystal Reports 2008 to create a report. I have attached an image of what the report needs to look like. The report needs to look like a

  • T440p upgrade to Windows 8

    Hello, I have bought new T440p (20AN006NUS). Everywhere was written that it comes with preinstalled Windows 7 pro and also includes Windows 8 pro license. As I understand license key for Windows 8 is embeeded in BIOS. But I have not any installation

  • What to be given in JDBC receiver comm channel?

    Hi I have given JDBC driver:com.sap.aii.messaging.adapter.ModuleXMB2DB Connection:jdbc:microsoft:sqlserver://sapep:1433;DatabaseName=SAPXI am i giving correct params? please help me where and how to check whether iam using correct params in my JDBC r

  • OID Provisioning issue on OIM 11g

    Hi, I have ran the target user recon for OID and noticed from the events that users are not linked. I tried assigning OID User resource from the provisioning workflow on the admin console but I am seeing the following the issue: DOBJ.ORC_NO_ORDER An

  • Finding the no. of occurence of a particular word in a paragraph.

    Hi If I have a paragraph in a string, and have to find the occurrences of a particular word. How can I do that. for example if i have this paragraph in a String, and I have to find the occurrence of the word "the", how can I do that. Paragraph: Despe