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....
Similar Messages
-
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 AMYou might have better luck posting this one on the JMS forum....
-
How to get total number of pages from .doc file without using Office interop?
Hi,
Kindly help me in getting the total number of pages from a .doc file not .docx file using C#. I know how to get by using Office interop but I do not want to use Office interop.
So, without office automation in C# let me know how to get the total number of pages from a .doc file.
Regards,
AshokHi Ashok,
>> I know how to get by using Office interop but I do not want to use Office interop
Could you tell us why you don't want to use Office interop?
As far as I know, this is the easiest way to achieve.Hmmm,this is my answer
http://msdn.microsoft.com/en-us/library/microsoft.office.interop.word.pagenumbers.startingnumber(v=office.14).aspx
Best regards,
Kristin
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.
Click
HERE to participate the survey. -
How can I get Total Number of messages in an EDI Interchange
Hi All,
I am migrating a solution from Covast EDI to native BizTalk EDI and ran into an issue. In Covast when an Incoming interchange is debatched some of the properties like The total number of messages in an Interchange is saved into the XML of the debatched
message. I am trying to find this value in Native BizTalk EDI.
How can I determine this value? I only see the InterchangeSequenceNumber property which is only the sequence number of the a message in Interchange.
Thanks!My first advice in situations like this is the double and triple check that this requirement still exists and it is driven
by the business. This is great opportunity to refactor some unnecessary complexity out of the solution if you identify it.
Assuming it is a valid and verified requirement, how you approach depends on the composition of the Interchange. Meaning, if you receive single ISA...IEA blocks with a single GS...GE, you can use the max of BTS.InterchangeSequenceNumber.
If you receive multiple ISA or GS's, it's a little different. -
How to get total number of days
Hi All,
how to get total number of days , for example if month eq 05 then need to get total number of days until MAY 31.
and how to get total number of days in a month.
Thank You,,
Sriii..Hi Sridhar,
Pls Try to search before posting general questions.
Try this,
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
i_datum_bis = p_lv_date1
i_datum_von = p_lv_date2
IMPORTING
e_tage = p_e_date_difference
EXCEPTIONS
days_method_not_defined = 1
OTHERS = 2
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Regards,
Sunil kairam. -
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.
-
How to get the number of messages consumed by a MDB ??
Hi all,
How to get the number of messages consumed by a MDB displayed in OEM in a Java Application ???
DMS ??? what use DMS ???
tanksok.
Well using DMS is one way to get at these sorts of stats in a programmatic manner.
There's a Java API you can use, or you could call out to the Spy servlet to query the DMS stats in either text or XML form.
I don't have an MDB published so I can't show you specifiically, but here's the sort of query you can use to extract the data.
http://localhost:8888/dms0/Spy?format=raw&table=oc4j_ejb_stateless_bean&recurse=children
Which produces a table of the TEXT form:
<DMSDUMP version='9.0.4' timestamp='1163456821185 (Tue Nov 14 08:57:01 CST 2006)' id='8888' name='OC4J'>
<statistics>
/oc4j [type=n/a]
/oc4j/default [type=oc4j_ear]
/oc4j/default/EJBs [type=oc4j_ejb]
/oc4j/default/EJBs/jmsrouter_ejb [type=oc4j_ejb_pkg]
/oc4j/default/EJBs/jmsrouter_ejb/AdminMgrBean [type=oc4j_ejb_stateless_bean]
pooled.count: 11 ops
pooled.maxValue: 1 count
pooled.minValue: 0 count
pooled.value: 0 count
ready.count: 11 ops
ready.maxValue: 1 count
ready.minValue: 0 count
ready.value: 0 count
session-type.value: Stateless
transaction-type.value: Bean
/oc4j/default/EJBs/jmsrouter_ejb/EnqueuerBean [type=oc4j_ejb_stateless_bean]
pooled.count: 11 ops
pooled.maxValue: 0 count
pooled.minValue: 0 count
pooled.value: 0 count
ready.count: 11 ops
ready.maxValue: 0 count
ready.minValue: 0 count
ready.value: 0 count
session-type.value: Stateless
transaction-type.value: Bean
/oc4j/default/EJBs/jmsrouter_ejb/TimerHandlerBean [type=oc4j_ejb_stateless_bean]
pooled.count: 11 ops
pooled.maxValue: 0 count
pooled.minValue: 0 count
pooled.value: 0 count
ready.count: 11 ops
ready.maxValue: 0 count
ready.minValue: 0 count
ready.value: 0 count
session-type.value: Stateless
transaction-type.value: Bean
</statistics>
</DMSDUMP>
Or produces an XML document of the form:
http://localhost:8888/dms0/Spy?format=xml&table=oc4j_ejb_stateless_bean&recurse=children
You can use the Spy console to find the table that contains the details for MDB and then take it from there.
This is not what you specifically want to do, but it does provide a good overview of how DMS is used.
http://www.oracle.com/technology/pub/notes/technote_dms.html
-steve- -
How to calculate total number of pages in a script
hi
how to calculate total number of pages in a scriptJyothsna,
Date:-&sy-datum&
Time:-&sy-timlo&
Total No.of Pages:-&sapscript-formpages&
Page No:-&PAGE&/&SAPSCRIPT-FORMPAGES&
Give the above said lines in your text editor,and given the paragraph format.Better create one more window and give the above said lines in the text editor.
K.Kiran. -
How to retrieve total number of pages in a report of Instance - RAS SDK ?
Hello All,
Hope all is well. I am using BOXI R2 Enterprise and was wondering how to get total # of pages of an Crystal Report Instance using RAS SDK.
Thanks in advance,
SamHow do i retrieve the total number of pages in a report-- via RAS SDK
Sincerely,
Ted Ueda -
My core.log file keeps showing these errors everytime I start to stream. My streams are not viewable on PC's and only viewable on iOS devices.
Is there something wrong with the libf4f.dll file? I'm using FMS 4.5 on Windows 2003 Server.
2011-12-28 15:44:09 4020 (e)2611178 Error from libf4f.dll: Total number of messages waiting to be recorded has exceeded the limit. -
2011-12-28 15:44:09 4020 (e)2611423 Failed to record bbc2011-BBC73 (Unknown Error). -
2011-12-28 16:02:00 4020 (e)2611178 Error from libf4f.dll: Total number of messages waiting to be recorded has exceeded the limit. -
2011-12-28 16:02:00 4020 (e)2611423 Failed to record bbc2011-BBC71 (Unknown Error). -
2011-12-28 16:57:12 4020 (e)2611363 Server detected a backward timestamp from 5006873 to 0 in file: C:\FMSHOME\applications\livepkgr\streams\_definst_\bbc2011
2011-12-28 17:18:21 4020 (e)2611178 Error from libf4f.dll: Total number of messages waiting to be recorded has exceeded the limit. -
2011-12-28 17:18:21 4020 (e)2611423 Failed to record bbc2011-BBC83 (Unknown Error). -
2011-12-28 17:36:12 4020 (e)2611178 Error from libf4f.dll: Total number of messages waiting to be recorded has exceeded the limit. -
2011-12-28 17:36:12 4020 (e)2611423 Failed to record bbc2011-BBC81 (Unknown Error). -
2011-12-28 18:38:09 4020 (e)2611363 Server detected a backward timestamp from 5420086 to 0 in file: C:\FMSHOME\applications\livepkgr\streams\_definst_\bbc2011-BBC82 -
2011-12-28 19:12:44 4020 (e)2611178 Error from libf4f.dll: Total number of messages waiting to be recorded has exceeded the limit. -
2011-12-28 19:12:44 4020 (e)2611423 Failed to record bbc2011-BBC92 (Unknown Error). -
2011-12-28 19:23:38 4020 (e)2611178 Error from libf4f.dll: Total number of messages waiting to be recorded has exceeded the limit. -
2011-12-28 19:23:38 4020 (e)2611423 Failed to record bbc2011-BBC91 (Unknown Error). -
2011-12-28 20:41:50 4020 (e)2611363 Server detected a backward timestamp from 6390123 to 0 in file: C:\FMSHOME\applications\livepkgr\streams\_definst_\bbc2011-BBC93 -
2011-12-28 21:12:05 4020 (e)2611178 Error from libf4f.dll: Total number of messages waiting to be recorded has exceeded the limit. -
2011-12-28 21:12:05 4020 (e)2611423 Failed to record bbc2011-BBC102 (Unknown Error). -
2011-12-28 22:49:23 4020 (i)2581247 Core (4020) disconnected from edge. -
2011-12-28 22:49:23 4020 (i)2581233 Core (4020) disconnecting from admin: 200. -
Thanks,
DaveThere is a concept of Absolute Time Code which enables the encoders to publish the livestream based on absolute system time rather than starting the messages from timestamp 0 everytime you append to a recording.
I suspect you encoder is starting everytime from 0 timestamp but since the server already has recording till some time - say x, for the server these are backward timestamps and hence the continous warnings.
Also to safeguard FMS against such conditions and cause memory crashes, we only allow messages with backward timestamps to accumulate in the process queue upto a limit and then the recording is stopped. Thats why you are observing the errors -
"Error from libf4f.dll: Total number of messages waiting to be recorded has exceeded the limit. -
2011-12-28 19:23:38 4020 (e)2611423 Failed to record bbc2011-BBC91 (Unknown Error). -"
Try to check your encoder settings for stream synchronization or ATC settings and enable them. -
Displaying total number of messages in Inbox
Using Mail in OS 10.3.9, the total number of messages in any selected mailbox was displayed just below the toolbar. This was very useful - when it got to around 800 I would know the time had come to archive some!
However, in Leopard (10.5.2) there doesn't seem to be any way to simply display just this total number.
Does anyone know of a way to display just the total?
Thanks!Of course it does! Gosh, I'm stupid!
Just goes to show that when you have looked at something for so long you take its location for granted!
Thanks for helping!! -
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.
> >
> >
>
-
How to read the messages in the JMS Queue using JMX
Hi,
I want to read messages in the JMS queue using JMX. I was able to read using QueueBrowser but want to modify priority of the messages using JMX.
I tried to use JMSDestinationRuntimeMBean but it does not allow us to read messages unless we pass the message Id. Is there any way that I can get all the messages in the queue.
I am using Weblogic 8.1 SP4
Can someone please help me in this regard.
Thanks,
Kiran.
Edited by KGudipati at 10/22/2007 1:22 AMHi,
As far as i know, JMS Object Messages is not supported by XI JMS adapter.
you need to have the JMS provider to transform the message to bytes messages.
(Refer to SAP note 856346) -
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
SandeepHi,
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 -
Old How to find total number of events in an event list?
Hi,
I am developing a j2me application. i Want to find the total number of events in an event list.(ie, If it contains 15 events then it should return length as 15).
Not the length of EVENT LISTS i want to find the Length of EVENTS.
Thanks,
kumarHi,
you can find the number of columns and their order using
the <b>'REUSE_ALV_FIELDCATALOG_MERGE'</b>
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = sy-repid
I_INTERNAL_TABNAME = 'ITAB'
I_INCLNAME = sy-repid
changing
ct_fieldcat = IT_FIELDCAT
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif
now describe your fieldcat . and find no of columns.
and their order also..
regards
vijay
Maybe you are looking for
-
How to use BAPIs for Infopackage execution : loading multiple files
Hello I have been told that BAPIs can be used to load multiple csv files at once for which some BAPIs exists (BAPI_IPAK_CREATE_FROM_REF , BAPI_IPAK_CREATE , etc) I have users who will be dropping their standard files in a directory (this should be a
-
MacBook Pro won't get past Apple logo during boot
Hey, recently while I was using on my MacBook Pro (note: just simply browsing the internet), the battery ran dry and the computer shut down almost immediately. When I plugged it in and turned on the computer again, the familiar Apple logo appeared an
-
I would like to turn off notifications for duplicate mail messages. Thanks, Ralph Sapertein
-
Search in Smart Folder not working
On my Desktop I have a folder of named pictures. Today the Search returns no results. What has happened?
-
May I turn my keyboard off?
Hallo, Is there any way to temporarily turn off my laptop's keyboard? I'm using a Kinesis, and, at this table, I'm short on space, so if I want to have a reference book out, the best way to do it is to put the keyboard on the, ahem, the keyboard, whi