Number of Messages for a Topic

 

Hi Jeff,
          I suggest that you open a case with Customer Support.
          Jane Sampson
          Developer Relations Engineer
          BEA Support
          "Jeff Carey" <[email protected]> wrote in message
          news:[email protected]...
          >
          > A startup class reads a Topic that contains e-mail messages from the
          applications
          > of our CRM system. Due to a bug in the startup class a suitable course of
          action
          > wasn't followed upon receipt of an mail Exception. That resulted in
          e-mail not
          > being sent and many messages backed-up.
          >
          > Because e-mail is a critical part of our CRM system, our requirements
          providers
          > want E-mail monitored. The problem is how to do that for a Topic.
          >
          > Responses from you and others indicate there isn't a good solution. If
          querying
          > the JMS tables is as good a solution as any, what status of a message
          associated
          > with the Topic would indicate a message not yet processed? A count of
          those that
          > exceeds a configured value could indicate a mail problem may exist.
          >
          > "Jane Sampson" <[email protected]> wrote:
          > >Hi Jeff,
          > >
          > >WebLogic uses internal implementation to collect this information. There
          > >is
          > >no method that I know of in the JMS API to allow this. Is there a
          > >particular reason that your application needs to do this?
          > >
          > >Jane Sampson
          > >Developer Relations Engineer
          > >BEA Support
          > >
          > >"Jeff Carey" <[email protected]> wrote in message
          > >news:[email protected]...
          > >>
          > >> How can an application learn the number of messages on a Topic?
          > >>
          > >> The WebLogic Console in JMS/Durable Subscribers/<subscriber> shows
          > >the
          > >number
          > >> of unprocessed messages for the Destination Topic.
          > >>
          > >> Review of documentation didn't reveal either a JMS or WebLogic method
          > >to
          > >get the
          > >> number of messages. Did the WebLogic console get the information by
          > >querying
          > >> the database table jmsmessage for messages for the destid associated
          > >with
          > >the
          > >> Topic and with a particular status? If so, what status?
          > >>
          > >> We are using WebLogic 5.1.
          > >>
          > >> Thank you.
          > >
          > >
          >
          

Similar Messages

  • 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....

  • Number of messages for Purchase Order output

    Hi All!
    I have to set the number of messages for the Purchase Order output at 2 (NAST-ANZAL). For a certain output type, in the Communication method the default value for Number of messages (original + copies) has to be 2. There is a transaction which allows me to do that but I don't remember it.
    Yours answers and your time are appreciate.
    Best regards.
    Florina C.

    Hi
    The transaction is MN05 or
    Logistics->Materials Management->Purchasing->Master Data->Messages->Purchase Order
    Max

  • Setting the number of consumers for a topic

    Hi,
    I have a topic connection factory from which I can creating 2 topic connections and setting different clientids for each connection to one topic.But I get a error com.sun.messaging.jms.ResourceAllocationException: [C4073]: A JMS destination limit was reached. Too many Subscribers/Receivers for Topic : usmTopic user=guest, broker=localhost:7676(4227).Is there a limit on the number of subscribers I can have for a topic?..I could not find any configuration for this?..Or can I have only 1 connection to a topic?
    Not sure I understand what is happening?
    Thanks
    Reshma

    Yes, using multiple connections is more resource consuming. And from the description below, it looks like it wouldn't help. A small info first. The Client ID in topics is used to keep the messages for the consumers when they are disconnected (hence durable subscribers). For this, if consumers were to be able to share the same clientid, the broker wouldn't know which consumer has consumed the messages and which has not. So for this, each consumer has to have a distinct client id. Usually, I provided the client id programmatically, but because of your problem, I saw that there is another solution. Read on...
    From the 3.6 admin guide (must still apply with 4.1):
    If multiple clients obtain connections from the same connection factory object, set ClientID for a connection factory. Message Queue can then provide a unique ClientID for each connection obtained from that factory.
    So, this is what you have done. Here is the rest of the instructions....
    +To ensure a unique ClientID value, set the imqConfiguredClientID attribute using the following format: imqConfiguredClientID=$string. The ${u} must be the first four characters of the attribute value. If anything other than �u� is encountered, a JMS exception occurs upon connection creation.+
    Sounds like what you are seeing no?
    +The value for string is any value that you want to associate with a connection produced by this connection factory, such as Xconn. During the user authentication stage, Message Queue substitutes u:userName for u. For example, if the user associated with the connection is Athena and the string specified for the connection is ${u}Xconn, the ClientID will be u:AthenaXconn. This scheme ensures that each connection produced by a connection factory, although identical in every other way, will contain a unique ClientID.+
    The following may also apply to you, based on the exception you provided...
    +There is one case in which this scheme will not work: If two clients obtain a connection using a default user name such as guest, each will have a ClientID with the same ${u} component. At runtime, the first client to request the connection will get it; the second will not because MQ cannot create a connection with a non-unique ClientID.+
    So from this:
    1. Use the {u} in your connection id.
    2. Use different users than the default. Unless you are using an external ldap provider, you probably need to use iqmusermgr. This will be in the bin directory of the Sun MQ installation.
    HTH
    TE

  • TS2755 how do i track the number of messages sent? i am on a limited sms plan so i want to know how many messages was i able to send in a month. is there an (free) app for it??

    how do i track the number of messages sent? i am on a limited sms plan so i want to know how many messages was i able to send in a month. is there an (free) app for it??

    Doubtful unless your carrier has an app that includes the option.
    My carrier has an app that I can check current usage and past usage with a previous bill and pay the bill.

  • Error in java code for removing messages from a Topic

    Trying to write a code using oracle.jms package to remove messages from Topic. I have a similar code with javax.jms package for removing messages from Queue and it is working well. Whereas i have written this new code for removing messages from topic using oracle.jms package as methods like CreateBrowser and CreateTopicReceiver for topic are provided in oracle package only and can't be used from javax.jms package.
    Error i am getting is JMS-126: Invalid Topic specified at
             receiverTopic   = (Topic) ctx.lookup(((String)receiverProps.get( "Q_NAME")).trim()  );
             System.out.println ("receiverTopic is[" + receiverTopic + "]");
             MBeanHome home = (MBeanHome) Helper.getAdminMBeanHome("username","pwd","url:port");
             ((AQjmsSession)topicSession).grantSystemPrivilege("MANAGE_ANY", "SA", true);
             for(Iterator i = home.getMBeansByType("JMSTopic").iterator();i.hasNext(); )
              WebLogicMBean wmb = (WebLogicMBean)i.next();
              System.out.println("topic name found: " + wmb.getName());
                topicBrowser   = ((AQjmsSession) topicSession).createBrowser(receiverTopic, "Edin");topic handle which i am receiving in receiverTopic is same as what i am expecting but still it says Invalid topic specified on createBrowser method. Anyone who can help me to write this type of code, please reply. If anyone has ready code for this situation, please reply with the same as i am working on a prodcution system and we are in serious situation to resolve this problem.

    Hi,
    I am afraid this is impossible. You need to find another solution like a filtering queue. Your messages can be sent to a queue that is monitored by let say a MDB. This MDB will maintain a map of title and only forward once a given title/message to your topic.
    Hope it helps.
    Arnaud
    www.arjuna.com

  • How do I show number of messages in mailboxes for Mail?

    I can't figure out how to show the number of messages in my mailboxes. When I go to View > Message Attributes, Number is grayed out. Nothing in Customize Toolbar that would suggest #. Any advice? Thanks!

    no, like in classic, there was a column "#" which showed how many messages you had in that particular email account. but all that info is in the email itself, but no total of emails for that mailbox. When I go to View > Message Attributes, "Number" is grayed out. thanks for your input.

  • Automation of support desk message for an newly generated BP number

    Hi,
    I need an application that when an BP number is generated in solution manager automatically some support desk messages have to created and have to assign different ids.
    How to automate this.

    Hello Kiran,
    The only way this could be achieved is through the use of BADI....You need to find a BADI which triggers on sucessfull save of a business partner....
    Within this BADI, you need to do a lot of coding which woould in turn create support desk message for you.....and this requires a lot of CRM technical know-how..
    Inspire ppl by rewarding !!
    Regards,
    Anand

  • Identifying which number a message is sent to for contacts with multiple numbers

    Hi there,
    Like many, I have a lot of contacts that have 2 or more mobile numbers stored against their name.
    I sent a message to a contact who has 3 numbers. A couple of days later I wanted to check to see to which number I sent the message but I couldn't see any way to display this from the message. The only information given is the contact name of the person I sent the message to, not the number.
    Surely there must be a way to do this by tapping on some part of the message. I tapped the message and got options "Copy/More" and "More" gives me the option to bin or forward. Tapping on Contact, gives me the contact name and phone/FT/info icons and tapping on the "i" icon displays the full contact details with the 3 numbers!
    The only way I got round this to find out which number it was, was to split the contact in to 3 different contacts as in Name 1, Name 2, and Name 3.This then allowed me to see the number because the message list updated depending on the number that was used. So really, the number is definitely there somewhere, but how to get it!
    Any ideas anyone please?
    Thanks,
    Maz

    Hey Maz K,
    Thanks for the question. This can be done by viewing the contact info in Messages. Simply tap “Contact” in the top right corner, then tap the icon. This will bring up the contact card, and the number the message was sent to will be highlighted in blue.
    View someone’s contact info in Messages.
    To quickly view someone's contact info in Messages, tap Contact.
    - Tap to call that person or to use FaceTime
    - Tap to see the person’s complete contact info
    If they're not already a contact, you can tap Create New Contact to add them.
    Messages - Learn more about iOS 7 and iPhone - Apple Support
    http://support.apple.com/kb/index?page=tidetail&product=iphone&locale=en_US&tag= Messages#TI136
    Thanks,
    Matt M.

  • Yosemite mail v8.0 not showing how many messages are in a mailbox. For example inbox. Before upgrading it used to show how many messages you had in your inbox. anyone know how to switch "on" the number of messages?

    Yosemite mail v8.0 not showing how many messages are in a mailbox. For example inbox. Before upgrading it used to show how many messages you had in your inbox. anyone know how to switch "on" the number of messages? Or has this feature been removed?

    Agreed! This feature was very useful. If you find out how to turn it on, please let me know.
    Apple, there is plenty of room in the window header all the way across on both sides of the word "Inbox". It's important to know many messages are in the Inbox. It provides a progress meter when you're cleaning out mail and striving for inbox zero.

  • I received a message that iOS had crashed and a number to call for restoration I paid 60$   Was I ripped off

    I received a message that iOS had crashed and a number to call for restoration I paid 60$   Was I ripped off

    I received a message that iOS had crashed and a number to call for restoration I paid 60$   Was I ripped off

  • HT3529 I no longer have my iPhone 4s so how can i turn off i-messages for my number?

    I no longer have my iPhone 4s so how can i turn off i-messages for my number?

    Hey there fwhitson,
    It sounds like you no longer have your phone but need to unlink your phone number from the iMessages service. According to this article, this is what you do:
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Note: If you no longer have access to the iPhone that is using the number you want to remove, reset your Apple ID password.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • I have a message on my Ipad that my IOS has crashed due to a 3rd party. It gives a number to call for support. It has locked up my Safari. What can I do to get rid of it?

    I have a message on my Ipad that states my IOS has crashed due to a 3rd party. It refers to my tablet as a phone (sorry, don't have an Iphone. It gives a number to call for support but I know it's a scam. Is there a solution to get rid of it as it has locked up my Safari.

    1. Reset the iPad
       Press and hold the Sleep/Wake button on your iPad,
       simultaneously  press and hold down the “Home” button” until the screen turns off.
       Turn it back on.
    2. Clear information from your device
       iOS 7
       Tap  Settings > Safari > Clear History > Clear Cookies and Data.

  • Questions about message logging and topic TTL

    We're in the final stages of testing our application. Basically a producer application is sending small, non-persistent messages once every 10 seconds and once every second to an auto-created topic. The consumer application(s) listening are then doing data display of this 1 second and 10 second data.
    Testing the client we noticed it complained of a single 10 second message not being received. We verified that the message was sent by the producer. My question is whether there is a logging setting on the IMQ server that could be used to log the receipt and delivery of every message, perhaps by JMSMessageID to a particular topic? The only idea we could think of is to use 'imqcmd metrics' to track the number of messages in/out, but this isn't as useful for us.
    Any ideas you could provide would be greatly appreciated.

    imqbrokerd does not support tracing at this level, so metrics is probably the best approach for now.
    If a subscriber is not getting a message it is usually because of one of the following:
    1. The message is expiring. If you are using message expiration make sure the clocks are synchronized between the clients and the server. imqbrokerd will log a message when it has expired messages.
    2. The subscriber was down when the message was produced (and it is not a durable subscriber).
    3. You have set a size limit on the destination or system wide that is resulting in messages being shedded as specified by the limit behavior.
    With non-persistent messages you can get an additional level of reliability by setting the following ConnectionFactory property to true:
    ConnectionConfiguration.imqAckOnProducethis adds a handshake between the server and client when a message is sent and provides a mechanism for imqbrokerd to propogate additional message production errors back to the client.
    The following document at sunsolve.sun.com provides more details:
    ID70117 Sun Java[TM] System Message Queue: Tuning 3.0.1 and 3.5 For Robustness
    Joe
    http://wwws.sun.com/software/products/message_queue/

  • Total number of messages in "messages" folder

    Hi Everybody,
    Pleasse heeelp I just want to see how many messages I have in my messages folder. Does anybody knows how? I've tried the search buton but I couldn't find a related topic. Thanks

    Ah, that is a clearer question, I think.
    Go to Options > Status.
    Press the Menu key and click on Database sizes.
    Scroll to your Messages entry for email, and it will list the size as something like 2314/1894k
    The first number is the number of messages
    You can see the same SMS, etc.
    Is that what you need?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • Monitor flickered and not iMAC won't boot up

    My iMAC 24; purchased in late 2008, the screen started flickering recently. Top half of the screen would flicker and the bottom half is black. The only option is to do a hard book by holding the power button. Now on the reboot I get the Apple icon an

  • Lightroom 5.6 catalog back up doesn't complete on Mac

    I am running Lightroom 5.6 and Mac OS X 10.9.4. I have the Lightroom catalog on my internal drive (279 GB available), and I'm backing up the catalog to an external drive (1.51 TB available.). My image files are on both my internal drive and second ex

  • I have a problem in creating a Process Chain(PC).

    Hi GURU's I have a problem in creating a Process Chain(PC). The PC should run on first 3 business days of the month for six times i,e 6am, 7am,8am, 9am,10am,11am. For this i have created 3 PC like BD1, BD2, BD3, and i selected the Factory calender pr

  • Logic Crashes MacPro

    Hi, I've a strange problem here and I've no idea how to solve it. I run logic Pro with 10 instances of Kontakt2. (about 1 GB of samples) Nothing is Freezed jet, and it all works great. But: -when I try to save the song Logic Crashes! -when I try to o

  • How can i install Microsoft Silverlight. Is there an app for?

    How can I install Microsoft Silverlight. Is there an app for this? Ipad does not recognise programms .dmg