If UseMessageListener in JMS adapter set True, causing the message state 0

We have a multi node SOA 10g deployed. If we have a UseMessageListener=True, the state of the message is not changing from 0 to 2. Even though the message was consumed.
Same, configuration works fine in lower environment with single node.
When we changed UseMessageListener= false, message state started getting changed even in multi node architecture.
One more difference that we have in multinode and single node environment, is that we are having isTransacted mcf property value as false. Where as in single node is Transacted is true.
Can some one explain some reasoning behind such behavior?
What is the significance of UseMessageListener?

Hi Tarak,
The behaviour looks acceptable for me... Topics are different than queues, if you publish a message to a queue and there is no suitable consumer at that moment the message will remain in the queue... But for a topic, looks acceptable for me to say that if you publish a message and there was no suitable subscriber at the moment the message can be discarded... The message was checked for all durable subscribers and there was no one to able to pick it up... So it can be safely discarded... If later you change your durable subscriber to a situation on what the previous message could be picked up, that may be too late... Nevertheless, that's a very particular case and may vary according to implementation...
May you can confirm the behaviour by checking the messages assigned to a durable subscriber... When you publish a message that doesn't match the selector, will the message even be listed at all?
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/topics/ManageDurableSubscribers.html
Hope this helps...
Cheers,
Vlad

Similar Messages

  • Sender jms adapter-archiving before processing the message

    Hi,
    Do we have any option in Sender JMS adapter to archive the message before processing the message?
    I have searched in sender JMS adapter (XI7.0) settings, but couldn't find any option.
    My assumption is whether any option provided in configuration setting of adapter engine or any other alternatives.
    Thanks,
    Srini.

    Hi Srini.
    Here is the code. But you may prefer the EAR module, just for deploy. I need your email to send it to you.
    If you want to create it yourself follow the steps in this guide and paste the code:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e
    When you configure the module in the JMS sender communication channel you have to spedify 2 parameter for the log file location:
    "file.path" (XI server file system path) and "file.name"
    CODE:
    package com.bfa.af.modules;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.Date;
    import javax.ejb.CreateException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import com.sap.aii.af.mp.module.Module;
    import com.sap.aii.af.mp.module.ModuleContext;
    import com.sap.aii.af.mp.module.ModuleData;
    import com.sap.aii.af.mp.module.ModuleException;
    import com.sap.aii.af.ra.ms.api.Message;
    @author ibermatica
    public class BFATraceModule implements SessionBean, Module {
         private SessionContext myContext;
         public void ejbRemove() {
         public void ejbActivate() {
         public void ejbPassivate() {
         public void setSessionContext(SessionContext context) {
              myContext = context;
         public void ejbCreate() throws CreateException {
         public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException
              FileWriter outFile;
              try
                   Date date = new Date();
                   String filePath = moduleContext.getContextData("file.path");
                   String fileName = moduleContext.getContextData("file.name");
                   outFile = new FileWriter(filePath + System.getProperty("file.separator") + fileName, true);
              catch (IOException e)
                   e.printStackTrace();
                   throw new ModuleException(e);
              PrintWriter out = new PrintWriter(outFile, true);
              try
                   out.println("--- Start of message ---");
                   //Get message content.
                   Message data = (Message)inputModuleData.getPrincipalData();
                   if(data.getDocument() != null)
                        out.println(data.getDocument().getText());
                   else
                        out.println("Empty message.");
                   out.println("--- End of message ---");
                   out.println("Total characters: " + data.getDocument().getText().length());
              catch(Exception exc)
                   out.println(exc.toString());
              finally
                   if(out != null)
                        out.close();     
                   if(outFile != null)
                        try {
                             outFile.close();
                        } catch (IOException e1) {
                             throw new ModuleException(e1);
              return inputModuleData;

  • Error status in JMS adapter - sync / async brigde. Message processed ok

    Hi guys
    I'm having som trouble with my scenarion. I'm sending sync message from SAP backend to XI using proxy. From XI onwards to JMS adapter async (and the other way around for the response message).
    This works OK. However i have a status error in my RWB on the JMS adapter. There is er red exclamation mark and a text saying:
    Correlation ID 'XXX' of JMS request message 'ID:yyy' saved that correponds to XI message 'XXX'
    How do I get my adapters in status green?
    Kind regards
    Martin

    Hi Kai
    Oh - OK
    Settings are:
    Receiver JMS channel:
    Set JMSCorrelation to: XI Message ID (MessageID)
    Store JMS CorrelationId of request: Mark
    Sender JMS channel:
    Set XI Message ID (MessageID) to: GUID (Recommended Value)
    Set XI Conversation ID (ConversationID) To: Stored JMS CorrelationId of Request.
    Kind regards
    Martin

  • The following files weren't attached because adding them would cause the message to exceed the maximum size limit of 35 MB: MALAWI .pptx.

    The following files weren't attached because adding them would cause the message to exceed the maximum size limit of 35 MB.
    I have had my macbook pro since June and have had no problems sending an email until I have tried to send a presentation today. The above message is what I keep receiving even after using 3 email accounts.

    Email providers often set file size limitations to conserve bandwidth and prevent service overload.  Most common seems to be a limit on the order of 21 MB.  If possible, break your presentation into two parts and send as two messages.

  • The following files weren't attached because adding them would cause the message to exceed the maximum size limit of 10 MB

    Dear sir/madam 
    I installed exchange server 2013 
    my clients want to attache more than 10 MB 
    when they attache more than 10 MB they got this massage "The following files weren't attached because adding them would cause the message to exceed the maximum size limit of 10 MB"
    so how can you help me to increase the attachment size and the way to do that 
    how can I change the default 10 MB  
    Please can you help me as soon as
    Rawa Zangana  

    Hi Rawa,
    You can use EAC or EMS to set the MaxSendSize. The default value of MaxSendSize is 10 MB.
    If you use EAC, here is the steps:
    Logon to EAC -> Mail flow -> Receive connectors -> settings-> type the Maximum send message size you want to set
    If you use EMS, please use the cmdlet Rajith provided.
    Hope it helps.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Amy Wang
    TechNet Community Support

  • Can't connect to my itunes because the message states that another user is using my itunes when thi is not true.

    I can not connect to my itunes account because the message states that another user in using the account and this is not true.

    After a visit to the apple store, they were able to get through my pass code but unfortunately I found out that is was a problem with the logic board. Since Apple only wants to sell and not fix, I was able to locate an iphone repair near me that deals with logic boards and they are currently working on it right now. i should be getting it back soon. Im not sure if the problem you are experiencing is the same as i went through but it does sound like it may be also a hardware issue and would suggest searching online for an iphone repair place that can diagnose what exactly is wrong. Hope this helps.

  • PI JMS Adapter - setting of MQMD.Format

    I have a requirement whereby I need to set MQMD.Format=u2019MQIMSu2019 on a receiver JMS channel, i.e. when it reaches our MQ / Mainframe from PI we need that format set (PI defaults to u2018MQSTRu2019).  Unlike for example ccsid, format it is not a parameter available to be changed on the main JMS screens.
    Any ideas on how I can achieve this? SAP has suggested doing some things over on the receiver (MQ) side but I don't want to go there, and don't think I should need to.
    We are on PI 7.11 sp 5.
    Background: as per IBM documentation (http://webcache.googleusercontent.com/search?
    q=cache:Ps4qVR_SbYIJ:www.macyplace.com/macyent/descriptions/MEMQClass.htmMQSERIESOTMAreasonmqims;cd=7&hl=en&ct=clnk&gl=ca), otma-based messages must have a format of 'MQIMS'. Here is an excerpt:
    ...Messages using the IMS OTMA bridge require an MQMD format of "MQIMS"....
    Keith

    Hi Keith,
    I am trying to do the same thing. Set the MQMD Format to MQIMS using the JMS_IBM_Format but that does not work and gives the following error:
    Message processing failed. Cause: com.sap.aii.adapter.jms.api.connector.ConnectorException: Connector for ConnectionProfile of channel: CC_NIAE_DO_NOT_TOUCH_JMS_RECEIVERon node: 3721650 having object id: 484b71b77f4c38debe12a87b7a961905 encountered error: MQJMS2007: failed to send message to MQ queue. in sending to destination queue:///SYSTEM.DEFAULT.LOCAL.QUEUE?targetClient=1, the message message:  JMSMessage class: jms_text  JMSType:          null  JMSDeliveryMode:  2  JMSExpiration:    0  JMSPriority:      4  JMSMessageID:     null  JMSTimestamp:     1311715458427  JMSCorrelationID: 0892080c-b00b-2c01-0e08-f0c02012c708  JMSDestination:   queue:///SYSTEM.DEFAULT.LOCAL.QUEUE?targetClient=1  JMSReplyTo:       null  JMSRedelivered:   false    JMSXDeliveryCount: 0    JMS_IBM_Encoding: 785    JMS_IBM_Format: MQIMS <?xml version="1.0" encoding="UTF-8"?> <SCSMSG><SCS-MSG-LENGTH>000001663</SCS-MSG-LENGTH><SCS-APP-RE ...: javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue.
    A JMS error occurred while processing message: 0892080c-b00b-2c01-0e08-f0c02012c708. The JMS provider gave the error mesage as MQJMS2007: failed to send message to MQ queue. MQJE001: Completion Code '2', Reason '2148'., and the error code as MQJMS2007.
    I talked with one of the MQ Team here and they said you might want to have 3 spaces after MQIMS because the MQMB.Format field is 8 Characters and I tried but still the same error.
    Also tried putting MQIMS is single and double quote lile "MQIMS   " and 'MQIMS   ' but it takes the quote as a character and does not create a MQ Message with format MQIMS.
    Did you try it and had it working?
    Thanks
    -Saumitra

  • JMS Adapter - Set Additional JMS Parameters or Replace Default Settings

    Hi colleagues,
    We are using PI/XI 7.0 (SP 12).
    In trying to set up a Communication Channel using JMS Adapter to connect to Oracle AQ, I do not see the checkbox "Set Additional JMS Parameters or Replace Default Settings" , nor is the table for the parameters / value visible.
    We have deployed the driver file as described in the How-to- guide: How To Install and Configure External Drivers for JDBC & JMS Adapters
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f?quicklink=index&overridelayout=true]
    In setting up the Communication Channel so far:
    Type: Sender
    Transport Protocol: Access JMS Provider Generically
    Message Protocol:  JMS 1.x
    Adapter Engine:      Integration Server
    After this I expect to see the checkbox  "Set Additional JMS Parameters or Replace Default Settings", but it is not there.
    Therefore I am not able to select it in order to enter parameters like:
    JMS.QueueConnectionFactoryImpl.classname
    JMS.QueueConnectionFactoryImpl.method.setHostName
    JMS.QueueImpl.classname
    JMS.QueueImpl.constructor.... etc
    Can someone please share if this because we are on too low SP or do we need to do something additional before it becomes visible?  Is this a feature that only became available as of PI/XI 7.0 SP 13 or 14 ?
    I checked both Sender and Receiver channel type, and it does not appear for both.
    Thanks & Cheers,
    Jodie

    Hi experts,
    We are using PI 7.1 and I've set up a communication Channel using JMS Adapter to send
    messages to a Sonic MQ queue.
    I need to send some values as JMS parameters, two of which are constants and two are values
    from the Sender message. I tried defining and setting up the parameters with constants values
    in the Communication Channel under the Advanced tab by selecting the check-box
    set Adapter-specific Message Attributes as follows:
    Name     TYPE
    ContentType     String
    ReturnValue     boolean
    Name     VAlue
    Contenttype     CompanyCode
    ReturnValute     true
    This however lead to an error in the Adapter Engine (RWB).
    My problem is:
    1. Can anyone please instruct me as to how to go about defining and setting up
       additional JMS parameters?
    2. How to go about defining/setting up variables that will get their values from
       the sender message?
    Thanks & Cheers,
    Joe

  • JMS Adapter setting the header data of MQ message

    Hi All,
    I need to set the properties in JMS adapter for setting the header data of MQ message.
    JMS_IBM_MQMD_Format = MQFMT_NONE.
    Thanks in advance
    Ravijeet

    Hi All,
    I am stuck in a typical XI issue.......I have a scenario where my input to XI is IDoc and output is xml message going to IBM MQ.
    The IDoc is sending some chineese character which is fine is SXMB_MONI Integration server and also fine in the payload of message monitoring, so feel the message is going fine from XI to MQ.
    But the receiver EDI system which is picking the message from MQ queue says the chinese characters are getting corrupted. They say that you need to set the additional properties in MQ header data
    JMS_IBM_MQMD_Format = MQFMT_NONE.
    How do I do this in communication channel for jms adapter ? How to I set the MQ header data in jms communication channel ?
    Thanks in advance
    Ravijeet
    Edited by: RAVIJEET DAS on May 12, 2009 8:27 AM
    Edited by: RAVIJEET DAS on May 12, 2009 8:27 AM

  • JMS Adapter: Unable to parse the scema error in step 7

    Hi
    I get unable to parse the schema error in step 7 of JMS Adapter partner link definition (in Type Chooser window). I am using RosettaNet 3b2 Schema converted from DTD by Tibco tools.
    Any help greatly appreciated.

    forwarded to the JMS adapter team. It would be nice if you could provide more context around the input you provided in the first 6 step (could you please post the schema or if there are a set of them, zip them up, rename the file .zap and email to collaxa_support_us at oracle.com). Thank you. -Edwin

  • I want to add a Saved Mailbox, but I do not have an Edit button for Mailboxes?  Is there a setting that causes the Edit button to display?

    The user manual says to go Mailboxes and click the Edit button to add a Mailbox, but I do not have an Edit button displayed in Mailboxes.  Is there a setting for displaying the Edit Button?  I have the latest version of iPad (Model MD328LL).  Thanks.

    If you go to your email account in the Mail app and look at the window where your inbox, trash folder and sent folder are - if there is an Edit button at the top of the window - tap that and then tap Add Mailbox at the bottom.
    If the Edit button is not there - you cannot create folders on the iPad. Your email account is not IMAP. Only IMAP email accounts can create folders on the iPad. Any folders that you would already have in an IMAP account would sync to the device as well.

  • API to set the Message State

    Hi,
    is it possible to set the PI Message State to Application Error in Message Mapping or/and in Adapter Modul ?
    best regards,
    Hai

    Hi,
    in case you want to get the whole soap fault message (do not use soap evelope) and handel it youself. You may want to set it to application fault and forward the fault message to caller.
    regards,
    Hai

  • HT1918 My account was set up in the United States.  I now live in Turkey and I want to update my I Tunes account information but when I update my country it changes my I Tunes to Turkish which I do not speak.  I want my I Tunes to remain in English.

    My I Tunes account was opened in the United States.  I now live in Turkey.  I wanted to update my personal information with my
    address etc but when I changed my country it changed my I Tunes to Turkish which I do not speak.  I had to change my country
    back to the United States in order to get my I Tunes back to English.  There must be some to Live in a different country and still
    be able to have I Tunes in English but I haven't been able to figure it out.

    Restore the device and set it up as new.
    Either plug it into itunes and select restore under the summary tab, or (post ios5) go into settings, general, reset, erase all content and data. When either asks to save a backup, you dont have to....hit No etc..
    This will bring the ipad to the start screen like you just bought it and erase everything.

  • What would cause the Messages App to only work intermittently?

    The first letter typed should switch the Send button on indicating things are ok, more often than not this doesn't happen. Settings seem to be right so what else might be causing this?

    I'll bet the lightbulb for execution highlighting isn't visable either is it? The problem is that someone turned off debugging for the VI in question. Debugging code does cost a little time so people who typically run their applications in the development system will sometimes turn off debugging. (Building a standalone application forces debugging off automatically).
    To be able to probe your routine, right click on the vi's icon in the title bar and select "VI Properties..." and go to the "Execution" catagory and make sure the box labled "Allow Debugging" is checked.
    This should put things right...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • CAN wrtie frequently causes the message to stop

    I am having a problem with CAN. I have a PXI RT Controller with 2 CAN cards. I am trying to send out 1 message at 50Hz and another two messages that are single writes each time through a timed loop. My problem is that when I try to change the 50 Hz message with CAN write.vi it will frequently, but not always, lock up and stops transmitting with an error about bus configuration (wiring) but the other messages keep going.

    Hi DonD,
    If i understand it right, you have 1 timed loop with three different CAN Write object functions and if you change the value to write of one object this object stops?
    This should not happen. So i assume there is an mistake in your code.
    Can you run the NI Spy from Start>Programs>National Instruments (Windows).
    The Spy is able to log all API Calls, so i can get an idea what is going on with your application.
    Start the Spy, Run the Logging and then run your application, try to reproduce the problem, stop your application and stop the logging.
    save the Spy file and attache it to your answer.
    Dirk W

Maybe you are looking for

  • NO_MAPPINGPROGRAM_FOUND SOAP RFC Adapter

    Folks... Fun new problem. Details Are: --SOAP Sender Adapter to RFC Receiver Adapter --Synchronous Call --Appears to Complete all steps of the pipeline except the Response Message --Mappings for both Request and Response Messages have been declared.

  • Sql query (max)

    Given a table like: Person Score Rob 80 Rob 75 Rob 85 Paul 90 Paul 85 How can I do a query to select the maximum score for each person? (ie. results should be: Rob 85 Paul 90

  • Strange folder appears out of no where under Macintosh HD

    Today I noticed a strange folder with a strange name "㉠ㆨ䞦າ" under root folder appeared in one of the macs in my computer lab, initially i thought it could be someone messing with the computer, but It's zero k in size and the date says it was created

  • F  *** ERROR = Node 'bootstrap' failed with exit code 503.

    Hi,      i installed the sap nw 7.2 trial version succesfully and due to sapgui problem i downloaded a new sapgui 720 patches from the service place and installed and when installation ,i installed jre for the sapgui. after that when i start the sap

  • Please EveryBody look Over this topic..., really interesting.....

    Hai Folks, i have developed an web application, which is a product for a bank. evry thing was working fine.As a new requirement i had a challenging task. Task is that, when the user log into my application, none other than this application should be