ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unable to view events generated by Message Flow

Post new topic  Reply to topic
 Unable to view events generated by Message Flow « View previous topic :: View next topic » 
Author Message
wisemind
PostPosted: Wed Jun 16, 2010 10:10 pm    Post subject: Unable to view events generated by Message Flow Reply with quote

Apprentice

Joined: 16 Jun 2010
Posts: 29

Hi,
i am Unable to view events generated by Message Flow . I enable the events in message flow of broker and gave the following command

mqsichangeflowmonitoring MB7BROKER -e default -f TotalPurchaseOrderFlow -c active

But there is no event in subscription. I want to see generated events finally in Business Space.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Jun 17, 2010 5:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

In JCNs, put this code:


Code:


  {
          String out = "object initialized.";
          MbService.logInformation(this.getName(), "evaluate", <classname>.MESSAGE_SOURCE, "INFO_MESSAGE", out, null );
  }

  public static class <classname> extends ListResourceBundle
 
  {
    
    public static final String MESSAGE_SOURCE = <classname>.class.getName();                                               
    public static final String INFO_MESSAGE = "INFO_MESSAGE";
    public static final String NICE_DETAIL = "NICE_DETAIL";
    private Object[][] messages  = {{INFO_MESSAGE, "An information message: %1 , %2" },
                                    {NICE_DETAIL, "The detail was nice."}};

    public Object[][] getContents()
   
    {
      return messages;
    }
  }




View output in Windows Event Viewer, Linux dmesgs or Unix Syslog.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqmatt
PostPosted: Thu Jun 17, 2010 6:39 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

Wisemind, you've enabled the emission of events in the broker but have you told the broker when you want the events to be emitted (e.g. transaction start, transaction end, etc.), and what the payload of those events is? You can use the "monitoring" tabs in the message flow editor to do this.
Also, you need to ensure that you (or something inside business space) is subscribing to those topics, so that the events are received.
See here if you haven't already done so: http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/ac37850_.htm

lancelotlinc, JCN technical logging is different from the business event emission described by wisemind.
Back to top
View user's profile Send private message
wisemind
PostPosted: Thu Jun 17, 2010 11:19 am    Post subject: Reply with quote

Apprentice

Joined: 16 Jun 2010
Posts: 29

hi mqmatt,
yes i have enabled the events in message flow. So tell me how business subscribe to this topic???


Can you tell me little detail how this mechanism does work?? like message flow sends event to Topic or CEI(Common Event Infrastructure)?? and whats the role of WBMEmitter ear provided with the sample??

thanks
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Jun 17, 2010 12:14 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

The subscription details are in the documentation.

In the section titled 'Monitoring Basics' (for V6.1). Read it carefully!
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unable to view events generated by Message Flow
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.