Reading MQRHF2 Header from MQ message.

Hi
I am getting MQ messages from an application using IBM Message Broker.
My requirement is to read the MQRFH2 Header from MQ message.
I didnt find any class in com.ibm.mq.jar file. I found the functionality in JMS but I am not supposed to use it.
How can I read header from MQ message?
Can someone please help me in overcoming this problem.
Thanks in advance.

Ya I have already gone through that but my problem is I am not supposed to use JMS Message.
I must use MQ Message that is coming from IBM Message Broker.
But MQMessage class doesnt contain any method to get or set MQRFH2 header. There are methods to get MQMD headers.
Can you please suggest me the approach which I should follow.
Thanks and regards,

Similar Messages

  • How do I remove (strip) the RFH2 header from a message?

    Hi,
    MQSeries version 5.2.1 with client version 5.2.2
    I have a Java program enqueues the messages to MQSeries and another Java program dequeues them and I need to remove the RFH2 header. How do I do this? I don't want to define TARGCLIENT(MQ). In another word, the RFH2 header can exists, and I must be able to detect and remove it when dequeue.
    Thanks very much in advance,
    Frank

    There is a kludge, which involves using the innards of an MQSeries message - 8 bytes into the message is a 4 byte block which gives you the length of the RFH2 header ( which is variable depending on the JMS header info you have ). Read these bytes and convert them to an int, and then do a msg.seek(lengthofheader) to get the start of the raw MQSeries message. Its not pretty coding and I don't know the likelyhood of IBM changing the internal format of a message with new version releases.

  • How to read http  header from Forms

    Hi,
    I have a forms application deployed on 10g AS. We are planning to integrate Oracle Identity management with our forms application. Currently, I access my forms application with an url, say http://hostname/forms/frmservlet?config=test. And, I get a Signon form, where I capture the logon and pwd, and specific to the user credential, I show another form. By integrating my appln with Identity management, I would be protecting my resource in the oracle access system, the WebGate component will do the backend authentication process along with the access server and the directoy service. Upon successful authentication, the DN form the LDAP repository (lets say the userid of my forms application) for the user is returned to the WebGate as http header information/cookie by the Access System. Now without altering the code in frmservlet Servlet, I need to capture the http header info (which contains the userid for the forms application of the user) in my default Signon form. How can I capture this?
    Can someone please help
    Regards,
    Suresh

    hi
    the following link may helpful to you
    http://e-docs.bea.com/wls/docs81/webserv/anttasks.html#1111537
    Regards
    Prasanna Yalam

  • Read SOAP Header Information

    Hello All,
    We want to read SOAP header from incoming message. We followed blog from William to use the option "Do not use SOAP Envelop". However, we are not sure if we need to modify Sender Interface to include Envelope / Header in the message structure itself.
    How to Read SOAP Header Information
    If we modify the message structure , it changes the WSDL as well and generating request message something like below :
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:aif="urn://transport.nsw.gov.au/test/poc/aif">
       <soapenv:Header/>
       <soapenv:Body>
          <aif:Envelope>   <------- Added by Modifying the structure
             <Header>
                <FileType>?</FileType>
             </Header>
             <Body>
                <MessageHeader>
                   <!--Optional:-->
    How can we use  "Do not use SOAP Envelop" feature without modifying the WSDL structure?
    If we don't modify the message structure , it is failing to identify the receiver and also we would not be able to see the fields while doing graphical mapping.
    Thanks !!

    Hi,
    Did you check the namespaces in your receiver determination? In interface determination, this could be solved by creating another mapping. Which PI version are you using?
    Regards,
    Mark

  • Running H/F to read Header from Previous Page?

    Hopefully someone has figured this one out and can share the solution with me.
    I'm using Framemaker 7.1
    I have a Heading (Call it HeadingX) with body text below it.
    That body text carries over to the next page. On that same carry over page I also have another HeadingX.
    I would like to have a running H/F that reads the Header from the prevous page ( and displays as: HeadingX continued).
    I'm aware of using the +, - feature in the building block and tried the -
    <paratext[-, HeadingX]
    but that still reads from the current page.
    is there any way to use the - with some sort of command to read back to the previous page only... to ignore instances if the HeaderX on the current page and beyond?
    It seems like it should be so simple but I'm stumped.

    OK, I still haven't had any luck with the markers (thank you though for trying to help me).
    Here's what I have:
    A Heading X (with a marker) and then body that flows to a second page. On that second page, I have the Running H/F reading the marker from the previous page (displaying as: HeadingX continued)
    But further down that second page, I have a new Heading X (with a marker) and body that flows to a third page.
    This creates the problem because the Runing H/F picks up the new HeadingX marker on the current page.
    My solution seems simple but perhaps does not exist:
    I need a Running H/F that will ignore content on the current page and ONLY READ BACKWARDS to previous pages.
    Is there a way for someone to program such a thing? Is there an API for Framemaker out there to do this?
    This format is a requirement for MIL-STD-40051 and I can't believe I'm the only/first one to ever face this dilemma!

  • HT1277 Mail has gone crazy. Header's and messages are mixed up. New Mac Book Pro. Migrated files from Time machine running snow leopard. Reinstall or new computer needed?

    Mail has gone crazy. Header's and messages are mixed up. New Mac Book Pro. Migrated files from Time machine running snow leopard. Reinstall or new computer needed?

    Ok; I'm not sure what you're doing.    36 hours is rather long.  Seems like a new migration.  Not what I intended.
    Here's what I intended: from the newly-migrated and apparently-corrupt environment, create a new user, not related to any existing user, nor any migration-created user, or any other user for that matter.  That is, use  > System Preferences > Users and Groups, authenticate yourself by clicking on the padlock, and then click the + and create a wholly new user.  Then log in under that user and establish the mail access.
    36 hours?  I'm wondering if there's an error or an exceedingly slow network here?  Or a really, really slow disk?  Or a sick backup?  (WiFi isn't the path I'd usually choose, either.)
    Failing the attempted second migration, I'd try a different tactic.  Does your existing (old) system work?   If so, I'd bypass the backup and connect an external (scratch) USB disk drive to the (old) sstem and then boot and use Disk Utility booted from the installer DVD disk or boot and use Disk Utility from the recovery partition or booted from a recovery partition created on some other external storage (details here vary by the OS X version and what hardware you have), and perform a full-disk backup of your original internal disk to (scratch) external storage.  (Make sure you get the source and target disks chosen correctly here; copying the wrong way — from the scratch disk to your existing disk — will clobber your data!)  In esssence, this will clone your existing boot disk.  Then dismount the (formerly-scratch) external disk, transfer it over to the new system, and use it as the source of the migration, by performing a fresh OS X installation on the new system.
    Target Disk Mode is also sometimes an option for accessing the disk for a migration, but that requires the right cable, and requires systems that have the same external connection; newer MacBook Pro systems use Thunderbolt for this, and older systems tend to use FireWire.  And I'm guessing you don't have compatible hardware.
    The details here can and do vary by your OS X versions and your particular Mac systems — if you'll identify the specific models and hardware, somebody might be able to better tailor the above (fairly generic) sequence to your particular configuration.

  • Not getting email on MAcBook Pro, but receiving on iPhone. Getting message "Warning Recent errors logged" It repeatedly states "The Header From: address postoffice is not authorised - please go to control add PHP" But I only have 1 email address.

    I am suddenly not getting email on my MacBook Pro, but am receiving e-mail on my iPhone. I'm getting message "Warning Recent errors logged" It repeatedly states "The Header From: address <postoffice> is not authorised - please go to control add PHP" But I only have 1 email address. I'm afraid to add anything on since I don't even know what this other e-mail address is. What should I do? And would this definitely be the cause of my not receiving e-mail?

    I pressed check again and here is what appeared:
    CONNECTED Apr 04 19:03:02.511 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:110 -- socket:0x118296830 -- thread:0x10121d6c0
    CONNECTED Apr 04 19:03:02.513 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:587 -- socket:0x1164f4730 -- thread:0x114a5a030
    CONNECTED Apr 04 19:03:02.526 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.elikann.com -- port:2525 -- socket:0x11444a6a0 -- thread:0x11827f160
    READ Apr 04 19:03:02.556 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:110 -- socket:0x118296830 -- thread:0x10121d6c0
    +OK <[email protected]>
    READ Apr 04 19:03:02.563 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:587 -- socket:0x1164f4730 -- thread:0x114a5a030
    220 mail.hostingplatform.com ESMTP
    WROTE Apr 04 19:03:02.566 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:110 -- socket:0x118296830 -- thread:0x10121d6c0
    CAPA
    CONNECTED Apr 04 19:03:02.568 [kCFStreamSocketSecurityLevelNone]  -- host:mail.authsmtp.com -- port:2525 -- socket:0x11824ca00 -- thread:0x1176c1ab0
    READ Apr 04 19:03:02.572 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.elikann.com -- port:2525 -- socket:0x11444a6a0 -- thread:0x11827f160
    220 mail.hostingplatform.com ESMTP
    WROTE Apr 04 19:03:02.585 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:587 -- socket:0x1164f4730 -- thread:0x114a5a030
    EHLO 192.168.1.4
    WROTE Apr 04 19:03:02.592 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.elikann.com -- port:2525 -- socket:0x11444a6a0 -- thread:0x11827f160
    EHLO 192.168.1.4
    READ Apr 04 19:03:02.610 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:110 -- socket:0x118296830 -- thread:0x10121d6c0
    -ERR authorization first
    WROTE Apr 04 19:03:02.628 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:110 -- socket:0x118296830 -- thread:0x10121d6c0
    USER [email protected]
    READ Apr 04 19:03:02.630 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:587 -- socket:0x1164f4730 -- thread:0x114a5a030
    250-mail.hostingplatform.com
    250-STARTTLS
    250-PIPELINING
    250-8BITMIME
    250-SIZE 65000000
    250 AUTH LOGIN PLAIN CRAM-MD5
    READ Apr 04 19:03:02.639 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.elikann.com -- port:2525 -- socket:0x11444a6a0 -- thread:0x11827f160
    250-mail.hostingplatform.com
    250-STARTTLS
    250-PIPELINING
    250-8BITMIME
    250-SIZE 65000000
    250 AUTH LOGIN PLAIN CRAM-MD5
    WROTE Apr 04 19:03:02.648 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:587 -- socket:0x1164f4730 -- thread:0x114a5a030
    AUTH PLAIN  (*** 44 bytes hidden ***)
    WROTE Apr 04 19:03:02.667 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.elikann.com -- port:2525 -- socket:0x11444a6a0 -- thread:0x11827f160
    AUTH PLAIN
    READ Apr 04 19:03:02.670 [kCFStreamSocketSecurityLevelNone]  -- host:mail.authsmtp.com -- port:2525 -- socket:0x11824ca00 -- thread:0x1176c1ab0
    220 mail.authsmtp.com ESMTP Sendmail 8.14.2/8.14.2/; Fri, 5 Apr 2013 00:03:02 +0100 (BST)
    READ Apr 04 19:03:02.671 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:110 -- socket:0x118296830 -- thread:0x10121d6c0
    +OK
    WROTE Apr 04 19:03:02.691 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:110 -- socket:0x118296830 -- thread:0x10121d6c0
    PASS ************
    WROTE Apr 04 19:03:02.698 [kCFStreamSocketSecurityLevelNone]  -- host:mail.authsmtp.com -- port:2525 -- socket:0x11824ca00 -- thread:0x1176c1ab0
    EHLO 192.168.1.4
    READ Apr 04 19:03:02.704 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:587 -- socket:0x1164f4730 -- thread:0x114a5a030
    235 ok, go ahead (#2.0.0)
    READ Apr 04 19:03:02.712 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.elikann.com -- port:2525 -- socket:0x11444a6a0 -- thread:0x11827f160
    334
    WROTE Apr 04 19:03:02.734 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:587 -- socket:0x1164f4730 -- thread:0x114a5a030
    QUIT
    WROTE Apr 04 19:03:02.756 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.elikann.com -- port:2525 -- socket:0x11444a6a0 -- thread:0x11827f160
    QUIT
    READ Apr 04 19:03:02.759 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:110 -- socket:0x118296830 -- thread:0x10121d6c0
    +OK
    WROTE Apr 04 19:03:02.776 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:110 -- socket:0x118296830 -- thread:0x10121d6c0
    QUIT
    READ Apr 04 19:03:02.799 [kCFStreamSocketSecurityLevelNone]  -- host:mail.authsmtp.com -- port:2525 -- socket:0x11824ca00 -- thread:0x1176c1ab0
    250-mail.authsmtp.com Hello pool-72-93-40-57.bstnma.east.verizon.net [72.93.40.57], pleased to meet you
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-8BITMIME
    250-SIZE 52428800
    250-AUTH CRAM-MD5 DIGEST-MD5 LOGIN PLAIN
    250-STARTTLS
    250 HELP
    WROTE Apr 04 19:03:02.808 [kCFStreamSocketSecurityLevelNone]  -- host:mail.authsmtp.com -- port:2525 -- socket:0x11824ca00 -- thread:0x1176c1ab0
    AUTH PLAIN ********************
    READ Apr 04 19:03:02.822 [kCFStreamSocketSecurityLevelNone]  -- host:mail.elikann.com -- port:110 -- socket:0x118296830 -- thread:0x10121d6c0
    +OK
    READ Apr 04 19:03:02.907 [kCFStreamSocketSecurityLevelNone]  -- host:mail.authsmtp.com -- port:2525 -- socket:0x11824ca00 -- thread:0x1176c1ab0
    235 2.0.0 OK Authenticated
    WROTE Apr 04 19:03:02.917 [kCFStreamSocketSecurityLevelNone]  -- host:mail.authsmtp.com -- port:2525 -- socket:0x11824ca00 -- thread:0x1176c1ab0
    QUIT

  • I am trying to read my iMessages from my iPhone 4S on my iPad 2, but the messages do not show up on my iPad 2. I made sure that the receiving email address is the same on both devices and both are signed into my single Apple account.

    I am trying to read my iMessages from my iPhone 4S on my iPad 2, but the messages do not show up on my iPad 2. I made sure that the receiving email address is the same on both devices and both are signed into my single Apple account.

    Is it possible that the person who sent the message to your phone sent it to your phone # instead?  Try sending a message to your phone via the email address and see if it shows up on the iPad.

  • How do I change the default from"Mark message as read by date" to "Mark message as read"?

    When I migrated from Windows XP to Windows 7 I downloaded & installed a new version of Thunderbird (v4.10.2) and retrieved my Mail files to the new profile. Everything seems to be working properly except that whenever I close an open message I get the "Mark messages as read by date" popup which has the current date but wants me to specify a starting date. This didn't happen in my previous installations (I've used Thunderbird for years). Options / Advanced / Reading & Display has "Automatically mark messages as read" checked and "Immediately on display" set, but I haven't found anything that lets me choose "Mark as read" rather than "Mark as read by date". How do I turn the "by date" off?
    Thanks --

    'Mark Message as read by Date'
    This can be invoked by right click on email in list and select 'Mark' > 'As read by date' to invoke the 'Mark Message as read by Date' pop up window.
    If you are reading an email in either the Message Pane or in a new tab and press the 'C' key, this will open the 'Mark Message as read by Date' pop up window.
    So can you tell us exactly how you are ''closing'' a previously unread message.
    Do you select an email in the list so that it displays in the Message Pane? Then you do not need to close it because this will auto happen when you select another email in the list.
    OR do you double click to open an email in a tab. Then how do you close it? There are some options on how to do this:
    # Do you click on the small 'x' located in the tab?
    # do you use 'Ctrl'+'W' ?
    # Do you right click on tab to show drop down options and then press 'C' key?
    I notice that there is a similar action - pressing of 'C' key.
    If you do not right click to get drop down, but instead just use 'C' key, you will invoke the 'Mark Message as read by Date' window.
    Can you check what it is you are doing

  • I am unable to print PDF's using either Adobe Reader or Safari. In Adobe Reader, I get an error message from my Cannon printer that says, "/usr.libexec/cups/filter/pstocupsraster failed". In Safari, I can only print the first page of a PDF.

    To try to resolve this problem, I have done the following actions.
    1 - I have run Disk Warrior.
    2 - I have repaired permissions.
    3 - I have deleted all plist that are either Cannon or Adobe.
    4 - I have downloaded and installed the lastest versions of Adobe Reader and the Cannon printer drivers.
    I am still unable to print PDF's.
    In Safari, I can print only the first page. In a multipage PDF, Safari only seems to recognize the first page.
    In Adobe Reader, I get an error message from my printer: "/usr/libexec/cups/filter/pstocupsraster failed".
    Any help would be greatly appreicated!

    Quit Safari.
    Open the Library folder in your home folder as follows:
    ☞ If running OS X 10.7 or later, hold down the option key and select Go ▹ Library from the Finder menu bar.
    ☞ If running an older version of OS X, select Go ▹ Go to Folder… from the Finder menu bar and copy the line below into the text box that opens:
    ~/Library
    Delete the following items from the Library folder:
    Caches/com.apple.Safari/Cache.db
    Preferences/com.apple.quicktime.plugin.preferences.plist
    Preferences/QuickTime Preferences
    Relaunch Safari and test.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select "/var/log/cups/error_log" from the file list. Post the messages from the time of the last printing attempt.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.

  • 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

  • How to read the Key value from the Message using the text value.. Urgent

    I need to read the Key valuefrom the message pool using the text value for the Key.. Is it possible.. Please help me with sample code..
    Thanks and Regards
    Avijit

    Avijit,
    I got your requirement. I really dont know the scenario your working on but its possible to do it. There is no direct way to do so, but complexity is in getting to know the Keys dynamically from interface.
    Here you go..
         try
              Class msgClass      = IMessageTestWDApps.class;
    //Replace IMessageTestWDApps with IMessage<Your WD Component name>
              Field keys[]      = msgClass.getFields();
              IWDTextAccessor textAccessor = wdComponentAPI.getTextAccessor();
              if(keys != null)
                   String key = "";
                   for(int index=0;index<keys.length;index++)
                        key = keys[index].getName();
                        wdComponentAPI.getMessageManager().reportSuccess("Key= "+key);
                        if(textAccessor.getText(key).equals("My message text"))
                             //your logic.
         catch(Exception cnfe)
              wdComponentAPI.getMessageManager().reportException("Exe "+cnfe.getMessage(),false);
    Regards
    Abhilash
    Message was edited by:
            Abhilash Gampa

  • Message Driven Bean reading multiple times from a jms queue

    Hi,
    I am facing a strange problem with my message driven bean. Its configured to read message from a jms queue. But sometimes it read the same message multiple times from the jms queue.
    We are using weblogic server 8.1 sp5.
    Please find below our descriptor files
    ejb-jar.xml  
    <ejb-jar>  
      <display-name>ClarifyCRM_Process_Manager_13.1</display-name>  
      <enterprise-beans>  
        <session>  
          <display-name>ProcessManager</display-name>  
          <ejb-name>ProcessManager</ejb-name>  
          <home>com.clarify.procmgr.ejb.ProcessManagerHome</home>  
          <remote>com.clarify.procmgr.ejb.ProcessManagerRemote</remote>  
          <ejb-class>com.clarify.procmgr.ejb.ProcessManagerEJB</ejb-class>  
          <session-type>Stateless</session-type>  
          <transaction-type>Container</transaction-type>  
        </session>  
        <message-driven>  
          <display-name>ProcessManagerListener</display-name>  
          <ejb-name>ProcessManagerListener</ejb-name>  
          <ejb-class>com.clarify.procmgr.ejb.ProcessManagerMDB</ejb-class>  
          <transaction-type>Bean</transaction-type>  
          <acknowledge-mode>Auto-acknowledge</acknowledge-mode>  
          <message-driven-destination>  
            <destination-type>javax.jms.Queue</destination-type>  
          </message-driven-destination>  
        </message-driven>  
      </enterprise-beans>  
      <assembly-descriptor>  
        <container-transaction>  
          <method>  
            <ejb-name>ProcessManager</ejb-name>  
            <method-name>*</method-name>  
          </method>  
          <trans-attribute>Required</trans-attribute>  
        </container-transaction>  
      </assembly-descriptor>  
    </ejb-jar>  
    weblogic-ejb-jar.xml  
    <weblogic-ejb-jar>  
      <weblogic-enterprise-bean>  
        <ejb-name>ProcessManager</ejb-name>  
        <stateless-session-descriptor>  
          <pool>  
            <max-beans-in-free-pool>100</max-beans-in-free-pool>  
            <initial-beans-in-free-pool>10</initial-beans-in-free-pool>  
          </pool>  
        </stateless-session-descriptor>  
        <enable-call-by-reference>False</enable-call-by-reference>  
        <jndi-name>ProcessManagerHome</jndi-name>  
        <dispatch-policy>PMExecuteQueue</dispatch-policy>  
        <remote-client-timeout>0</remote-client-timeout>  
      </weblogic-enterprise-bean>  
      <weblogic-enterprise-bean>  
        <ejb-name>ProcessManagerListener</ejb-name>  
        <message-driven-descriptor>  
          <pool>  
            <max-beans-in-free-pool>100</max-beans-in-free-pool>  
            <initial-beans-in-free-pool>10</initial-beans-in-free-pool>  
          </pool>  
          <destination-jndi-name>clarify.procmgr.jms.queue.Execution</destination-jndi-name>  
          <connection-factory-jndi-name>clarify.procmgr.jms.factories.ExecConnection</connection-factory-jndi-name>  
        </message-driven-descriptor>  
        <enable-call-by-reference>True</enable-call-by-reference>  
        <dispatch-policy>PMListenerExecuteQueue</dispatch-policy>  
        <remote-client-timeout>0</remote-client-timeout>  
      </weblogic-enterprise-bean>  
    </weblogic-ejb-jar>   The MDB is sometimes reading multiple times from clarify.procmgr.jms.queue.Execution
    Also i would like to add here that the connection factory we are using clarify.procmgr.jms.factories.ExecConnection is having the following properties
    ServerAffinity Enabled=true
    XA connection factory enabled=false.
    Please help me out here!!

    Maybe, your MDB "sometimes" throws an Exception in onMessage.
    Check if this happens when you set <max-beans-in-free-pool>1</max-beans-in-free-pool>.

  • 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

  • How to get DateTime from PI message SOAP Header

    Hi ALL
    Can you please let me know how we can get the time message received in PI from the SOAP message header
    <SAP:TimeSent>2010-08-17T16:24:16Z</SAP:TimeSent>
    I would like to capture this value and send it in the payload of the message, initially I was using the Current TIme date function.
    However, if I can get the time received value from the SOAP Header message, It will be more accurate in providing the Time the message was received by IE.
    Thank you,
    Parikshit
    Sample SOAP Header from MONI:-
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
    - <SOAP:Header>
    - <SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
      <SAP:MessageClass>ApplicationMessage</SAP:MessageClass>
      <SAP:ProcessingMode>asynchronous</SAP:ProcessingMode>
      <SAP:MessageId>4C69D4B7-9806-0162-E100-80000A8221E6</SAP:MessageId>
    <SAP:TimeSent>2010-08-17T16:24:16Z</SAP:TimeSent>
    - <SAP:Sender>

    If you want to get the TimeSent from SOAP header and map it to some field in ur message then u can easily do it using following UDF :-
    GlobalContainer globalContainer;globalContainer = container.getGlobalContainer();
    java.util.Map param = globalContainer.getParameters();.
    String timeSent = (String) param.get (StreamTransformationConstants.TIME_SENT);
    return timeSent ;
    Note: This UDF won't need any input. So u need not to maintain any variable in UDF signature.
    Edited by: Samiullah Qureshi on Aug 18, 2010 9:41 AM

Maybe you are looking for

  • I have a pragunta, I need to activate my apple ID.

    I have a pragunta, I need to activate my apple ID. I can not download applications from my apple id. Since reestablishment my password nor served.  <Edited by Host>

  • Method not recognised as method.

    I have been having extreme frustration trying to get this client program to compile. Everything is ok up to the point where the compiler tries to compile the LogCheck method. It seems to think it is an expression and thus cannot compile it. Can anyon

  • Adding html element identifier "class" to a label component

    Hi, Maybe it will be a straightforward question but I could not find the answer in anywhere. From the palette I am adding a label object to my jsp page. How can I set the "class" property of this label object? Because in the CSS file I have class sel

  • Looking to take pictures from PC to i pad 2

    Not sure how to load pics from PC to i pod.

  • ALEAUD01 just 3 different Status?

    Hi everybody, we got the following scenario SAP R/3 sending a message through BPM to JDBC. In case of database is down/offline we got a exception branch in BPM. There we want to send a ALEAUD back to R/3 to inform. Question: Which fields do I have to