Max number of messages in PI queues

All,
I got a question from a customer wondering how many messages can pill up in XI queues until the system 'explods'. Anyone of you has an idea?
Thanks a lot
Dimitri

Hi,
there is no specific value for that. As already mention this depends on some facts like your system resources, message size, frequency, EO / EOIO, number of queues, ...
From my experience: I've seen systems with some several tousands of messages (small one's up to 3 MB) and PI did not have any problems with it.
Regards,
Kai

Similar Messages

  • How do i find the number of messages in a queue

    Sorry if this is too trivial, but i haven't been able to figure out how to determine the number of messages in a queue. business case being that i can only have 3 messages in the send queue, so i need to stop sending if there are 3 outstanding messages still in the send queue.
    Can someone point the way?
    Thanks,
    Nilesh

    Hi,
    To get the depth using JMS you must create a QueueBrowse and browse the entire queue. Its generally horribly inefficient if you want to do it with any regularity.
    In Hermes I have had to write plugins that open separate connections to providers using their non-JMS APIs or JMX and get that kind of information that way.
    Look at the getDepth() method in this JBoss plugin for an example that uses JMX:
    http://cvs.sourceforge.net/viewcvs.py/hermesjms/Hermes4/src/java/hermes/ext/jbossmq/JBossMQAdmin.java?view=markup
    And here is one for WebSphereMQ that uses one of its many APIs..
    http://cvs.sourceforge.net/viewcvs.py/hermesjms/Hermes4/src/java/hermes/ext/mq/MQSeriesAdmin.java?view=markup
    Colin.
    http://hermesjms.com

  • Count the number of message in remote queue.

    Does any method in MQSeries or JMS, can count the number of message in remote queue.
    I try to use QueueBrowser to browser, but got exception when browse the remote queue.
    thanks.

    You cannot read from, browse or query a remote MQ Queue, only write to it. Try www.mqseries.net or ibm website for any ways around this...

  • How To list Total Number Of Message in specific queue

    Hi All,
    Message queue
    How to list total number of message in specific queue using wlst command
    Edited by: 666666 on Mar 8, 2012 4:42 AM

    You might have better luck posting this one on the JMS forum....

  • How to set up the maximum number of messages on a queue programmatically

    Hi,
    I am using IMQ 3.5 to implement a message layer for one of my projects. I created a "Job Status Queue", which receives job status report from a java application every minute. But I just want to keep the most current status report instead of all the job running history. How can I restrict the maximum number of messages to 1 programmatically?
    Any suggestion or help will be appreciated.
    Xiaoyun Tang

    You can't limit the destination size programmatically, but you can do it administratively and associate a behavior to occur when the limit is reached. In your case it sounds like you want a queue, 1 message deep, and to discard the oldest message when the queue is full. When you create the physical queue on the broker you can specify these attributes (you can also update them on an existing queue). For example:
    imqcmd create dst -t q -n StatusQ -o maxNumMsgs=1 -o limitBehavior=REMOVE_OLDESTFor more information see Chapter 6 of the Message Queue Administration Guide. In particular the "Managing Destinations" section:
    http://docs.sun.com/app/docs/coll/MessageQueue_35_SP1
    Joe

  • How to determine the number of messages in a queue, that ...

    Hi,
    what's the proper way to count the number of the messages in an Advanced Queue that are currently visible to consumers?
    Currently we use:
    select count(*) from aq$queue_tab_name q where q.QUEUE = 'Q_NAME';
    The problem with that approach:
    If one consumer dequeues a lot of messages in one transaction, that change in the number of messages visible to other consumers is only made visible after the consumer issues a commit. Before the commit is issued, the above "select count(*) ..." statement (issued from a different DB-session) does not reflect the fact that one consumer consumed a lot of messages, messages that are not available to other consumers anymore (only exception: the original consumer issues a rollback sooner or later).
    So before the commit is issued:
    -the consumed messages are NOT visible to other consumers anymore (which is intended behaviour)
    -but the "select count(*) ..." statement (issued from a different DB session) does NOT reflect that fact
    So the case could arise that the queue becomes empty, while "select count(*) ..." says that e.g. 1000 messages are still in the queue.
    Is there a solution to this problem?
    PS: For our use-case we need these dequeue option :
    dbms_aq.remove;
    dbms_aq.first_message;
    dbms_aq.on_commit;
    Again, the queue itself works correctly, I just need to find a way to determine the number messages that are currently dequeable / visible to the consumers at specific point in time.
    I couldn't find a func/proc in dbms_aq for that purpose.
    Best wishes
    Peter

    The following might be of interest in better understanding the issue you are facing in a broader context:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:5771117722373

  • Max number of Messages using Channel API?

    We have a 2-port CAN card (series 2) runing at 500kB. When we use channel API to setup 9 messages (about 20 signal-channels) at 100Hz update rate in a write task - the data is constant, set to repeat output last sample (therefore butffer size is not the problem).
    Task Init-start gives error of too many channels too high speed. when we set only 8 messages at 100Hz or 9 messages at 90Hz, it works fine.
    If we calculate based on 500kB and 8-byte messages (give enough overhead), CAN bus shall be able to transact at least 40 full-length (8-byte) messages at 100Hz.
    there are two Rx messages at 50Hz on the bus. (totally only these 10 or 11 messages are on the bus).
    so what is the problem, simple because the CAN channel API is not good enough? 

    The NI-CAN driver I used was 2.3.1f1(?), then updated to 2.4.0f0. the results are the same. the erroe code is: -1074388831.
    Dirk is right. I did some tests and find the max speed it can spit to the bus is 666Hz (frames/s). this is true for both channel API - sampled ouput and for frame API - CAN objects.
    this will not meet the requirement of my (and many) application. I want use the NI CAN card to simulate several controllers in a vihicle to talk to one controller to be test. there are usally more than ten messages, many of them at 10ms update rate.
    when using frame API network object, timestamped, the max throughput seen is 830Hz.  when use "immedaite", the max throughput is ~3.15kHz (76% bus load). this rate probably meets most application,
    what's Interesting is, when use channel API, signle write (sample rate 0) in a loop, use the loop to control the rate, it is able to reach same ~3.2kHz rate, although the timing is not very accuate (but the channle API is not well timed either at higher rate: 6 messages sample rate at 100Hz, ouput recent: varying from 96 to 104Hz).
    the driver needs some improvement.

  • Message count on Queues

    Hello,
    I am new to JMS, i am using WebLogic 8.1 SP5, any built in API is available to find message count on specific queue. That means if i pass queue name to weblogic method that should be return message count or any other way to find message count?
    Thanks in advance...
    Regards,
    -Soma

    JMS does not specify anything to count the number of messages in a queue.
    All you can do it to browse the queue with a QueueBrowser to know how many messages you have. But this can be very time (and memory) consuming if you have 1000 or more messages present in the JMS queue.
    Anyway, I don't think it is of particular interest to figure out how many messages you have in a queue ...
    All you are concerned with is what you need to do when messages arrive in the queue !
    PY Fourmond
    http://pyfourmond.free.fr

  • Count number of messages

    Hi,
    How do I count the number of messages on a queue with a message selector? Do I ned to read message by message to count them?
    Is it possible to make a message stay in queue even after its read?
    thanks
    shiva,

    Use a QueueBrowser. You have to iterate through the whole queue (effectively fetching all the messages), but the messages stay in the queue for others to consume. Note that the browser may be a snapshot. It takes time to iterate and it can change while you iterate. Even if your provider offers a cursor like browser, messages can be consumed and produced behind you.
    Most vendors have some sort of administrative API to get this information. It would not be considered portable.

  • Maximum number of messages sent to a Queue?I hav

    I am currently using Glassfish v2.1 and I have set up a queue to send and receive messages from with Sesion beans and MDBs respectively. However, I have noticed that I can send only a maximum of 1000 messages to the queue. Is there any reason why I cannot send more than 1000 messages to the queue? I do have a "developer" profile setup for the glassfish domain. Could that be the reason? Or is there some resource configuration setting that I need to modify?
    I have setup the configuration properties as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE resources PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Resource Definitions //EN" "http://www.sun.com/software/appserver/dtds/sun-resources_1_3.dtd">
    <resources>
      <admin-object-resource
            enabled="true"
            jndi-name="jms/UpdateQueue"
            object-type="user"
            res-adapter="jmsra"
            res-type="javax.jms.Queue">
        <description/>
        <property name="Name" value="UpdatePhysicalQueue"/>
      </admin-object-resource>
      <connector-resource
            enabled="true" jndi-name="jms/UpdateQueueFactory"
            object-type="user"
            pool-name="jms/UpdateQueueFactoryPool">
        <description/>
      </connector-resource>
      <connector-connection-pool
            associate-with-thread="false"
            connection-creation-retry-attempts="0"
            connection-creation-retry-interval-in-seconds="10"
            connection-definition-name="javax.jms.QueueConnectionFactory"
            connection-leak-reclaim="false"
            connection-leak-timeout-in-seconds="0"
            fail-all-connections="false"
            idle-timeout-in-seconds="300"
            is-connection-validation-required="false"
            lazy-connection-association="false"
            lazy-connection-enlistment="false"
            match-connections="true"
            max-connection-usage-count="0"
            max-pool-size="32"
            max-wait-time-in-millis="60000"
            name="jms/UpdateFactoryPool"
            pool-resize-quantity="2"
            resource-adapter-name="jmsra"
            steady-pool-size="8"
            validate-atmost-once-period-in-seconds="0"/>
    </resources>Edited by: happy_go_lucky_mate on Nov 16, 2009 10:00 AM

    The imqbroker log states:
    [17/Nov/2009:10:27:57 CST] ERROR sendMessage: Sending message failed. Connection ID: 427038234214377984:
    com.sun.messaging.jmq.jmsserver.util.BrokerException: transaction failed: [B4303]: The maximum number of messages [1,000] that the producer can process in a single transaction (TID=427038234364096768) has been exceeded. Please either limit the # of messages per transaction or increase the imq.transaction.producer.maxNumMsgs property.Looks like the imq.transaction.producer.maxNumMsgs property is set to the default value of 1000. As per the documentation,
    The maximum number of messages that a producer can process in a single transaction. It is recommended that the value be less than 5000 to prevent the exhausting of resources.
    So what do I need to do if I need to send more than 5000 messages?

  • Max number of chars in process message MSEL?

    Hi, what is the max number of characteristics can be used in process message category's MSEL table? Right now, I am using more than 99 characteristics and I get a short dump DYNPRO_FIELD_CONVERSION. Is it really limited to 99 characteristics and if it is true, is there an OSS note to change it to allow more than 99?
    Thanks and points available

    Please make sure that you build a
    multithreaded program first (check with ldd).
    If anyone can tell me the maximum number of threads per process I would
    really appreicate it.
    Also the maximum number of open files per process. It depends on the architecture (x86/SPARC), OS version,
    64 or 32-bit, /etc/system, shell limitations (/usr/bin/ulimit) ...
    Search for "rlim_fd_max / rlim_fd_cur" on docs.sun.com too.
    HTH,
    -vladimir

  • How to read the number of pending and delivered messages from a Queue

    Hi
              Can anyone please tell me that how to peek through a queue to get the total number of messages pending and number of messages delivered from a Queue.
              I just have to peek through the queue and I do not want to process the messages.
              Any code snippet or guidance would be of great help.
              Thanks
              Raj

    Use WebLogic's JMX/mbean management APIs directly, or tools that access these APIs such as the weblogic console, the WLST scripting language, or the weblogic.Admin command line. There are JMX examples on dev2dev.bea.com (including a program called JMSStats.java).
              For programming convenience, JMS provides a helper method to get the destination runtime stat mbean:
              weblogic.jms.extensions.JMSHelper#getJMSDestinationRuntimeMBean()
              Tom, BEA

  • How should I find out the number of messages on queue?

    I am using iMQ 3.0. Point-to-point messaging.
    I have sent some messages to the queue. How should I
    find out the number of messages on queue ?

    You can use MQ's admin tools (imqcmd or imqadmin)
    to find that out.
    'imqcmd query dst -n queuename -t q' will print out what
    you want.
    Check the administration guide for more info.

  • How to limit max number of downloads at once (and create a download queue)

    I just "upgraded" to Mozilla 26.0 last night and was quite irritated that they changed the made it so that I cannot access the old download window. Was it really necessary to get rid of the work-around to get to the old download window?
    Anyway, besides being more visually appealing, it previously downloaded two files at a time, unless I manually forced it to do more. The rest of the files would go into a download queue to wait their turn. After the update, it no longer creates a queue, leading to much slower downloads and it also slows my computer if I download too much.
    Is there any way that I can limit the max number of downloads (unless I want to force it to download more) like I had on the previous version of firefox? I would prefer not to add more any add-ons, so if there is an check-box that I missed somewhere or something in about:config that would allow me to do this it would be better.
    Also, is there any way to pause downloads now?

    Check these 2 articles
    https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file?esab=a&s=how+to+put+a+file+in+download+queue&r=2&as=s
    https://support.mozilla.org/en-US/kb/find-and-manage-downloaded-files?esab=a&s=limit+maximum+number+of+downloads+and+create+a+download+queue&r=1&as=s
    This might help you.
    Thank you.

  • How to list total number of message in specific Topic/queue using wlst comm

    Hi All,
    Message queue
    How to list total number of message in specific Topic/queue using wlst command

    aaaah sorry, I didn't notice you were looking for a SPECIFIC topic, bad me
    then do something like
    <pre>
    connect('weblogic','weblogic','t3://localhost:8001')
    servers = domainRuntimeService.getServerRuntimes();
    if (len(servers) > 0):
    for server in servers:
    jmsRuntime = server.getJMSRuntime();
    jmsServers = jmsRuntime.getJMSServers();
    for jmsServer in jmsServers:
    destinations = jmsServer.getDestinations();
    for destination in destinations:
    if destination.getName() == 'YOURQUEUE':
    print "Destination ", destination.getName(), " MessageCount ", destination.getMessagesCurrentCount()
    </pre>
    of course performance-wise this is a terrible script because you loop on all destinations, I am sure there is a way to lookup a specific destination, but I am too lazy to investigate....

Maybe you are looking for

  • Query regarding creation of tables using AET

    Hi Experts, First of all is it advisable to create a assignment block (table view/ form view) using AET? We are going to implement an upgrade project from  CRM 5.0 to CRM 7.0. In CRM 5.0 there was a two custom tables which needs to implemented in CRM

  • Adobe acrobat 9.0

    Hi, Ever since I got my new mac and started running snow leopard, I can't open a pdf with acrobat 9.0. (or 8.0) I keep having to go to "open with" and opening it with 7.1. This doesn't seem right. Is there anything I can do? Thanks!

  • Debugging a Transformation

    Greetings to All,      Does anyone know how to run a BW 7.0 transformation through a debugger?       Here's the situation:      I have a transformation with an InfoSet as its source and a cube as its target. When I run the transformation in dev, it c

  • Install error - database configuration assistant

    HI. During install a 10g oracle database, the universal installer prompt me that one of required component , DATABASE CONFIGURATION ASSISTANT, is not properly installed. The first warning has been submitted with popup that reported " ORA - 22288 , fi

  • WRT54G Won't See XP Boxes

    I have a WRT54G and a WAP11G connected to a BEFW11S4, the BEFW11S4 has my cable access on the WAN port. The wireless is off on the BEFW11S4 and it is in the router mode. I have computers running both Windows 2000, XP Home, and XP Pro (all XP is SP2).