OpenESB: read message from Normalized Message Router

Good morning,
I have to build a simple Business Monitor System.
I use NetBeans 6.5, Glassfish v2 with OpenESB.
My Question is:
there is a way to read messages exchanged between two different application (for example my CASA application and Salesforce CRM wsdl)?
Obviously all application are attached to the ESB.
I know that all SOAP messages are transformed to Normalized Message (by Normalized Message Router) and then sent over the ESB, so I think there is a way to read all messages (but I didn't find it).
Thanks
Matteo

Thank you Mark,
I modified the test Observer a bit just to dump the message exchange. Actually it seems to work, except for a weird thing: The message count is always 0 for any message exchange I log, like there are no Normalized Messages in the MessageExchangeImpl. Am I missing something obvious? I'm just calling the toString() of the MessageExchage in the run() method of the ObserverLifeCycle class, I'd expect to see some messages sometime.
ExchangeId: 3389965929356-12104-134580929097830184
Pattern: http://www.w3.org/2004/08/wsdl/in-out
Role: CONSUMER
Consumer: Null
Provider: Null
Index: 1 SynchState: NONE
EndpointLink: caMainSample,casaService1,casaPort1
Status: ACTIVE Location: LOCAL Transaction: None
Service: null
Endpoint: http://enterprise.netbeans.org/bpel/MainSample/MainProcess,MainPL,servicePortTypeRole_myRole
Operation: {http://j2ee.netbeans.org/wsdl/SubSample/service}serviceOperation
Interface: null
Properties Count: 0
DeltaProperties Count: 4
Name: com.sun.jbi.messaging.messageid
Value: 1
Name: com.sun.jbi.observer.receiver
Value: sun-bpel-engine
Name: com.sun.jbi.messaging.groupid
Value: b0ea5c93-151c-4559-877f-e49bd6bdac35
Name: com.sun.jbi.observer.sender
Value: sun-http-binding
Message Count:   0
Thank you & regards
M.

Similar Messages

  • When I was talking on phone, suddenly the phone was switched off. i tried to switch it on but it gave the message....connect to itunes for set up.  when I connected it to itunes...it gave the message, itunes can not read data from this iphone, restore it

    when I was talking on phone, suddenly the phone was switched off.
    i tried to switch it on but it gave the message....connect to itunes for set up.
    when I connected it to itunes...it gave the message, itunes can not read data from this iphone, restore it to factory settings. It also said while restoring ypu will lose all media data but you can restore the contacts.
    I restored the factory settings....the phone was on recovery mode...it was verified by itunes and all that..but in the end it again said that iphone has some problem and can not function right now.
    after that when ever i connect it with itunes, it gives the message, it can not activate the iphone further, try again later or contact customer service.
    What to do now?????? Customer service people say..it is hardware problem

    If it's a hardware problem, then the phone will need to be replaced.
    There is no magic that can fix a hardware problem.

  • Unable to read payload from the message object in XI

    Hello Guys,
    Please help me about my problem in XI version 7.0.im quite new here.
    im trying to test my config but error message occured. "Unable to read payload from the message object"
    when i checked the comm channel this is the error message :
    Error during database connection to the database URL 'jdbc:sqlserver://172.16.40.20:1433;databasename=TRAVEL:SelectMethod=cursor' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://172.16.40.20:1433;databasename=TRAVEL:SelectMethod=cursor': com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database "TRAVEL:SelectMethod=cursor" requested by the login. The login failed.'
    when i tried my login in sql it works...but in this message the login is failed..what shall i  do..
    Please advice.
    Thanks in advance
    aVaDuDz

    Hi
    Check with the connection string & Authorization of user you have used.
    MSSQL string is
    jdbc:microsoft:sqlserver://dbhost:1433;databaseName=example;SelectMethod=Cursor
    While doing JDBC its good to refer Note 831162 lot of problems can be resolved.
    Thanks
    Gaurav

  • Unable to read payload from the message object

    Hi
    I have a scenario where i am send request to http receiver and getting the response. When I am testing through WFETCH it is working fine. But when i am testing through XI I am getting the follwoing error
    Unable to read payload from the message object
    I have tested the XI payload in mapping. I have done all kinds of testing but it is still giving the same error.
    One more strange thing is
    I have done one BPM scenario where Data is coming from Source to BPM( which is asyn) and then from it will go from BPM to Target (which is sync) But when I am checking the SXMB_MONI... it showing the messages like this
    Source to BPM
    Target to BPM
    Target to BPM.
    But i think it should show message like
    Source to BPM
    BPM to Target
    Target to BPM
    why i am getting the flo

    Hi
    Check with the connection string & Authorization of user you have used.
    MSSQL string is
    jdbc:microsoft:sqlserver://dbhost:1433;databaseName=example;SelectMethod=Cursor
    While doing JDBC its good to refer Note 831162 lot of problems can be resolved.
    Thanks
    Gaurav

  • Message (on one account) when logging in: The user account running the Configuration Manager console has insufficient permissions to read information from the Configuration Manager site database.

    After installing the reportservice/database i cannot use the Configuration Manager Console 2012 anymore with my own AD account. (The accounts of my colleagues are stil working)
    When i login i get the following message:
    The user account running the Configuration Manager console has insufficient permissions to read information from the Configuration Manager site database. The account must belong to a security role in Configuration Manager. The account must also have
    the Windows Server Distributed Component Object Model (DCOM) Remote Activation permission for the computer running the Configuration Manager site server and the SMS Provider.
    I checked the following:
    I am a administrative user in SCCM (Full Administrator)
    I am a member of the administrator group on the server
    Deleted HKEY_CURRENT_USER\Software\Microsoft\ConfigMgr10
    I tried to start it on multiple workstations and deleted my roaming profile
    Any more suggestions?

    Hi,
    Maybe you could have a look on the below blog.
    http://blog.nimbo.com/how-to-disable-user-account-control-in-windows-server-2012/
    (Note: Microsoft provides third-party contact information to help you find technical support. This contact information
    may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.)
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I have updated to 6.1, even read messages turns back to unread from the service provider. What to do?

    I have updated to 6.1, even read messages turns back to unread from the service provider. What to do?

    my iphone told me to connect to itune or connect to wifi

  • 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 message synchronously from JMS queue using OSB

    Hi,
    Is it possible to read message from the JMS queue using OSB based on the request invocation. I know messages can be read from the queue but it will be polling based.
    The requirement is to have an OSB proxy service (HTTP service ) an an interface to the client application. Client application invokes the proxy service and the proxy service need to read message from the JMS queue and provide the message as response to the client.
    Let me know if there are any pointers.
    Thanks
    Sandeep

    Hi,
    I spent some time trying to do this and apart from creating custom database tables etc. I was not able to achieve this.
    We wanted to use in memory JMS queues in our situation.
    In the end we developed a Java Web Service which preformed the on-demand read from the queue (using a particular message selector)
    This is working for us without a problem
    Robert

  • How to stop Mail from uploading read messages

    I am rebuilding Mail on a new hard drive from a backup Mail folder (POP account). I changed all the permissions on the old folder (including the internal folders) so I could replace the "new" Mail with the old backup Mail folder. Seemed to work except Mail now does not recognize previously read messages as read. It continually downloads hundreds of them -they are duplicates. And the message bodies are blank. Obviously I forgot to do something in my manual restore. Ideas on how to fix this?

    Does anyone out there have a handy fix for this problem? I'm having the same issue, and it's driving me nuts. As of right now I have 8815 "unread" messages from Gmail...sigh. Some of those are truly unread, but definitely not 8815. Is there a way to sync Mail and Gmail so it recognizes which messages have been read/deleted/archived/etc?

  • Iphone receiving read messages from mac mail

    My iphone used to only receive unread emails as long as entourage on my mac wasnt open. Now i have moved to mac mail and my phone is receiving read messages from mac mail. Is there a setting im missing that will make my phone only receive new messages?
    I still want my mac mail to receive these same emails later as it used to work.

    You would still receive read e-mails in the inbox on your iPhone (and vice-versa) if you used IMAP but they would show as having been read and not as new. IMAP keeps all mail clients synchronised. The only alternative would be to use POP to download to your phone and IMAP to download to your laptop and create another folder on your computer and move mail over to it when read. By default, POP only downloads from the inbox so your phone would not download it again. IMAP would leave a copy in the folder you have created on the server in case you have problems with your laptop. If you delete read e-mails on your laptop, you can set it to remove them from the server after a fixed time and they would remain there until then but your phone would not download them again.

  • Cannot read message bodystructure from Exchange 2010 with IMAP

    Hi,
    I'm trying to read mails from MS Exchange 2010 that have multipart/mixed content type and contain only one text/html part. I'm using IMAP and the newest Javamail 1.4.3. The mail processing fails when trying to fetch the bodystructure. I can process the same message perfectly well from Exchange 2003:
    BODYSTRUCTURE from Exchange Server 2003 (Works fine with javamail)
    * 1 FETCH (BODYSTRUCTURE (("TEXT" "HTML" ("charset" "UTF-8") NIL NIL "7BIT" 242 5 NIL ("inline" NIL) NIL) "mixed" ("boundary" "----=_Part_28_1466852274.1263305065649") NIL NIL))BODYSTRUCTURE from Exchange Server 2010 (Does not obey specification, doesn't work with javamail)
    * 1 FETCH (BODYSTRUCTURE ("multipart" "mixed" ("boundary" "----=_Part_1_1045289550.1263292469650") NIL NIL NIL 0 NIL NIL NIL NIL))Does anyone have same kind of problems? This seems to me like a bug in Exchange 2010, but does anyone know any work-around for this other than using POP3 that works with the same message?
    Here's the message (slightly edited to protect the guilty):
    Received: from XXX (10.1.2.152) by
    YYY (10.1.3.154) with Microsoft SMTP Server id
    14.0.639.21; Tue, 12 Jan 2010 12:34:29 +0200
    From: "XXX@YYY" <XXX@YYY>
    Reply-To: <XXX@YYY>
    To: Receiver <XXXX@YYY>
    Message-ID: <1765234390.11263292469652.JavaMail.XXX@YYY>
    Subject: Phone order: Mobile phone for mobile employees
    Content-Type: multipart/mixed;
         boundary="----=_Part_1_1045289550.1263292469650"
    Return-Path: ZZZ@YYY
    Date: Tue, 12 Jan 2010 12:34:29 +0200
    X-MS-Exchange-Organization-AuthSource: XYZ
    X-MS-Exchange-Organization-AuthAs: Anonymous
    MIME-Version: 1.0
    ------=_Part_1_1045289550.1263292469650
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><p>
                I would like to order the following phone:
                <br><br>Mobile phone for mobile employees
            </p>
            <p>
                Best regards,
                <br>XXX@YYY
            </p>
    ------=_Part_1_1045289550.1263292469650--Cheers,
    Kai

    Yup, looks like a bug in Exchange 2010, please report it to Microsoft.
    If Microsoft gives you a bug ID or any way to track this bug, please let me know.
    Try this workaround:
    [http://java.sun.com/products/javamail/FAQ.html#imapserverbug|http://java.sun.com/products/javamail/FAQ.html#imapserverbug]

  • Fail read filename from attachment in multipart message

    Hi,
    I use Javamail 1.4 for reading mail from imap server.
    Sometimes i have received mail with this header (this mail was produced with thunderbird):
    --------------040307090809070400040607
    Content-Type: application/pdf;
    name*0="20060908 - DOCUMENT.pdf"
    Content-Transfer-Encoding: base64
    Content-Disposition: inline;
    filename*0="20060908 - DOCUMENT.pdf"
    When i use the method part.getFileName() the result is null.
    Why?
    Thanks all.

    Interesting. What version of Thunderbird?
    These headers are using a feature of RFC 2231 that allows
    a parameter in a header to be split over multiple lines.
    In this particular case, there's no need to use this feature
    since clearly these parameters are short enough to fit on
    one line.
    While JavaMail supports part of RFC 2231 - the part that
    allows parameters to be encoded - it doesn't support this
    aspect of RFC 2231.
    I would suggest reporting this as a "bug" in Thunderbird, that
    it's gratuitously using this new feature in cases where it's not
    needed, and thus reducing interoperability with other mailers
    that don't support this feature.

  • Read messages still in inbox????

    Just bought an imac - very happy EXCEPT - my Mail which I've ported across from AOL.
    Unlike very other mail system I've come across all messages STAY in the inbox after reading until I manually drag them to a saved folder or of course delete them.
    I've looked in rules to see if I could create something that would move them that way but can't see anythign that would apply.
    Anyway, am I missing somethng here? I'm going to stop using mail if it can't do something as BASIC as this!

    Normally, if you did nothing special, read messages stay in inbox, The only message is read signal is sent back to the mail server to mark it read on its side side too (unless you said contrary). If you did nothing on your Mac then check your mail app on the web. It might be that the message move to folder is done on server side.

  • Human workflow task invocation failure - message router is null

    Hi,
    I have configured the task specifying the general information, data and assignments. It gets deployed fine to the server and when the task flow service is invoked from the bpel process the below error occurs:
    <initiateTaskInput>
    <part name="payload">
    <initiateTask>
    <task>
    <payload>
    <CustomerDetails>
    <ns1:name>anupam dutta</ns1:name>
    <ns1:address>karunamoyee</ns1:address>
    <ns1:sex>male</ns1:sex>
    <ns1:cellnumber>54687214211</ns1:cellnumber>
    </CustomerDetails>
    </payload>
    <priority>3</priority>
    </task>
    <routingSlip/>
    </initiateTask>
    </part>
    </initiateTaskInput>
    </input>
    <fault>
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <remoteFault>
    <part name="summary">
    <summary>oracle.fabric.common.FabricInvocationException: Message Router for default/SusmitTestWorkflow!1.0*9acfd191-e572-408d-b523-aa3f9b42735c is null. Please validate that the composite deployment completed successfully by checking the server logs.</summary>
    </part>
    <part name="detail">
    <detail>Message Router for default/SusmitTestWorkflow!1.0*9acfd191-e572-408d-b523-aa3f9b42735c is null. Please validate that the composite deployment completed successfully by checking the server logs.</detail>
    </part>
    <part name="code">
    <code>null</code>
    </part>
    </remoteFault>
    </bpelFault>
    Please help resolving this. Thanks in advance.
    -- Susmit

    Here is how I solved this problem: I was told by the metalink folks that I should use the same verion of SOA console as jdev. So I went back to jdev 10.1.3.1. Rather than reading from the Oracle lite table, I dumped the table into a flat file. I read flat file and populated the workflow. Remember to set the 'messages in batch' flag in the file adapter to 1 and the number of records to skip to zero in the format builder for the flat file. The process now reads each record and creates an instance for that each record. In other words, if I have 8 records in my flat file, I will have 8 instances of the process running on the console. Thanks Jeremy for your help figuring this out.
    Edited by: user7725126 on Nov 19, 2009 3:56 PM

  • Message Routing Principles in PI 7.1

    Hello Experts,
    Please help me to understand what all message routing principle are available in PI 7.1. The one I a aware of is content based routing. Are there routing rules available??
    - Rajan

    Hi! Rajan,
    I was little bit confused with ur question ?
    Are you asking about Logical Routings ? If yes Logical Routings are nothing but Routing rules that you are defining means both Interface detmination and Receiver determination
    Interface determination is rule which defines that you need to communicate via this particular XX interface and its corresponding
    Receiver determination is also a rule which defines that you need to communiate with this Receiver Business System if there are more than one Business Components or SYstems based on the Rules and conditions that are giving in the editor.
    Where exactly I was confused means ? I know only logica routings sicne this routing rules are for message processing only and henve are u calling this as Message routings rules ? or it is different from what I am saying correct me if I am wrong ? okay
    Regards::
    Amar Srinivas ELi

Maybe you are looking for

  • Java application problem

    I am using JDK1.4 and working on Windows Xp. I have written a code for application in java as follows: import javax.swing.*; public class sample JPanel panel; static JFrame frame; JButton but; public sample() frame=new JFrame("frame"); panel=new JPan

  • How do I add my Custom Workflow Activity to FIM 2010 R2 SP1 installed on Windows 2012 server?

    Hellos. I have tried and failed to add my custom.dll into the Windows Server 2012  GAC. We have a version of FIM 2010 R2 Sp1 running on Windows Server 2008 R2 and that was no problem. There seemed to be a gacutil.exe present on the system which added

  • Mainframe Integration using File Adapter (FTP Mode):: ftp commands

    Hi, We are trying to integrate with Mainframe system using File Adapter. (FTP mode). We are able to write the file to Mainframe system but not able to format it properly. We had to provide FTP parameter,  <b>ftp.quote site recfm=fb lrecl=150</b> As p

  • What happened to Genius?

    Just got iPhone 5c with ios7, What happened to the ability to make genius playlists from any song you were listening to in the music app. This was an awesome feature!

  • IWeb 3.02 crashes unexpectedly since update

    Since completing the rather complicated iWeb 3.0.2 update manually it has now stopped working properly ... (I'm on OS 10.6.4 but can't remember if this was updated before or after the iWeb update) it always crashes when I click on one page in particu