Author |
Message |
Topic: How to get JMSMessage for MQMessage(format=MQHEPCF) |
amitgoelamit
Replies: 3 Views: 6723
|
Forum: IBM MQ Java / JMS Posted: Sat Oct 18, 2008 12:42 am Subject: How to get JMSMessage for MQMessage(format=MQHEPCF) |
As per IBM support ...
The support for converting MQMessage to JMSMessage for 'MQHEPCF' FORMAT type is not implemented as per IBM MQ JMS design :|
So what effectively happens is that the JMS to ... |
Topic: Problem processing JMSBytesMessage |
amitgoelamit
Replies: 9 Views: 22096
|
Forum: IBM MQ Java / JMS Posted: Tue Sep 23, 2008 6:57 am Subject: Problem processing JMSBytesMessage |
I tried
String format = bytesMsg.getStringProperty("JMS_IBM_Format");
format values is coming as " " rather than "MQHEPCF" |
Topic: Problem processing JMSBytesMessage |
amitgoelamit
Replies: 9 Views: 22096
|
Forum: IBM MQ Java / JMS Posted: Tue Sep 23, 2008 6:56 am Subject: Problem processing JMSBytesMessage |
We are using JMS asynchronous onMessage(Message msg) to read the activity report message (FORMAT = MQHEPCF) from SYSTEM.ADMIN.ACTIVITY.QUEUE.
The Message is received and is instanceof BytesMessage ... |
Topic: How to get JMSMessage for MQMessage(format=MQHEPCF) |
amitgoelamit
Replies: 3 Views: 6723
|
Forum: IBM MQ Java / JMS Posted: Tue Sep 23, 2008 6:13 am Subject: How to get JMSMessage for MQMessage(format=MQHEPCF) |
We are using JMS asynchronous onMessage(Message msg) to read the activity report message (FORMAT = MQHEPCF) from SYSTEM.ADMIN.ACTIVITY.QUEUE.
The Message is received and is instanceof BytesMessage ... |
Topic: How to get MQCFGR object out of activity report data sectio? |
amitgoelamit
Replies: 0 Views: 4947
|
Forum: IBM MQ API Support Posted: Tue Jul 29, 2008 4:54 am Subject: How to get MQCFGR object out of activity report data sectio? |
Hi
I am trying to read activity report and got some success in that.
As per Activity Report format given in chapter 13 of 'Monitoring WebSpehere MQ 6.0' the report has
1. Message Descriptor: ... |
Topic: Problem reading Activity Report PCF Message |
amitgoelamit
Replies: 6 Views: 6670
|
Forum: IBM MQ Java / JMS Posted: Mon Jul 28, 2008 7:52 am Subject: Problem reading Activity Report PCF Message |
hi,
I read the activity report from ACTIVITY.QUEUE in normal way and then read header of activity report using the MQMessage fields and methods....
the challenge is in reading the data section ... |
Topic: Clue or Sample program to read activity report? |
amitgoelamit
Replies: 2 Views: 6504
|
Forum: IBM MQ Java / JMS Posted: Sun Jul 27, 2008 5:01 am Subject: Clue or Sample program to read activity report? |
Also the standard util code
import com.ibm.mq.*;
import com.ibm.mq.pcf.*;
import java.io.*;
public class ReadPCFMessages
{
public static void main (String [] args)
... |
Topic: Clue or Sample program to read activity report? |
amitgoelamit
Replies: 2 Views: 6504
|
Forum: IBM MQ Java / JMS Posted: Sun Jul 27, 2008 4:57 am Subject: Clue or Sample program to read activity report? |
Hi java_problem, fjb_saper, all
I am trying to read the activity report. Got the activity report structure at
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqsav ... |
Topic: Activity report |
amitgoelamit
Replies: 1 Views: 3271
|
Forum: IBM MQ Java / JMS Posted: Sun Jul 27, 2008 4:54 am Subject: Activity report |
Hi java_problem, fjb_saper, all
I am trying to read the activity report. Got the activity report structure at
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqsav ... |
Topic: Default activity report not generated |
amitgoelamit
Replies: 4 Views: 5488
|
Forum: IBM MQ Java / JMS Posted: Sat Jul 26, 2008 1:01 am Subject: Default activity report not generated |
strangely by doing following i was getting activity reports for send .. recieve.
int reportOpts = MQC.MQRO_ACTIVITY |
MQC.MQRO_DISCARD_MSG |
MQC.MQRO_PASS_DISCARD_AND_EXPIRY;
... |
Topic: Problem reading Activity Report PCF Message |
amitgoelamit
Replies: 6 Views: 6670
|
Forum: IBM MQ Java / JMS Posted: Sat Jul 26, 2008 12:55 am Subject: Problem reading Activity Report PCF Message |
I dont know how u achieved generation report by just setting activity_report.
I had to do:
int reportOpts = MQC.MQRO_ACTIVITY |
MQC.MQRO_DISCARD_MSG |
MQC.MQRO_PASS_DISCARD_AND_EX ... |
Topic: Common activity queue in MQ6.0 |
amitgoelamit
Replies: 12 Views: 9656
|
Forum: IBM MQ Installation/Configuration Support Posted: Thu Jul 24, 2008 8:34 pm Subject: Common activity queue in MQ6.0 |
hi guys!
I am so overwhelmed with the help i got at this forum..
just to show my token of appreciation...
I will explore topic and clustering approach...
and welcome other ideas!!!!
choice ... |
Topic: Clue or Sample program to read activity report? |
amitgoelamit
Replies: 2 Views: 6504
|
Forum: IBM MQ Java / JMS Posted: Wed Jul 23, 2008 11:40 pm Subject: Clue or Sample program to read activity report? |
Am trying to write java program to read and parse activity report.
It will be helpful if anyone can guide me to apis and preferably a sample Activity report reader and parser code
From docume ... |
Topic: Problem reading Activity Report PCF Message |
amitgoelamit
Replies: 6 Views: 6670
|
Forum: IBM MQ Java / JMS Posted: Wed Jul 23, 2008 11:37 pm Subject: Problem reading Activity Report PCF Message |
sekarnaren,
how did u enable the message for activity report.
I was able to do it by setting activity_report flag with discard and discard_expiry flag.
Wondering what could be side effects of t ... |
Topic: Problem reading Activity Report PCF Message |
amitgoelamit
Replies: 6 Views: 6670
|
Forum: IBM MQ Java / JMS Posted: Wed Jul 23, 2008 11:30 pm Subject: Problem reading Activity Report PCF Message |
Hi,
I also tried doing same and got same error.
Please let me know if you got any break through!!
I will be trying to find activity pcf group
Activity report consist of
1 MQMD
2. Data:
... |