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 » rfhutil

Post new topic  Reply to topic
 rfhutil « View previous topic :: View next topic » 
Author Message
paustin_ours
PostPosted: Mon Nov 21, 2005 2:54 pm    Post subject: rfhutil Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

anyone used rfhutil to register subscriptions? where do i specify the durability of the subscription?
can anyone throw more light on content-filtering?

in my esql i specified a psc filter to be InputRoot.MQMD.Encoding = 546

on my toolkit under content filter, it is appearing as 'TRUE'

i thought the whole exression would appear.
Back to top
View user's profile Send private message Yahoo Messenger
jsware
PostPosted: Wed Nov 23, 2005 5:49 am    Post subject: Reply with quote

Chevalier

Joined: 17 May 2001
Posts: 455

I have used rfhutil to subscribe to topics. I did this for a "static pub/sub" environment where I wanted to subscribe on behalf of applications and they just receive copies of messages of their own queue. I did not use content filtering for this.

If by "durable" subscription, you mean JMS durable then AFAIK using rfhutil in this manner can only create durable subscriptions. MQ doesn't have the concept of durable and non-durable subscriptions, there are just subscription.

When using JMS non-durable subscriptions, MQ JMS subscribes when a non-durable subscription is made and (I guess) automatically unsubscribes when the connection is terminated by the application. IBM may have also got this to unsubscribe when the application crashes as they could setup shutdown hooks and all sorts of wizzy stuff behind the scenes (though I would doubt this would happen if you did a kill -9 against the application).

From an MQ point of view, there's no difference between durable & non-durable. A subscription is made and remains in place until an unsub request for that subscription point is received, regardless of whether the client has disconnected.

HTH
_________________
Regards
John
The pain of low quaility far outlasts the joy of low price.
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Wed Nov 23, 2005 8:25 am    Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

so i cant use rfhutil to be my jms subscriber? it has a jms tab in it
Back to top
View user's profile Send private message Yahoo Messenger
jsware
PostPosted: Thu Nov 24, 2005 5:03 am    Post subject: Reply with quote

Chevalier

Joined: 17 May 2001
Posts: 455

I'm not 100% sure but I think the JMS tab allows you to put a jms folder into the RFH2 header.

You could use rfhutil as your "JMS" subscriber, but then your consuming application would then use just a queue receiver object, not a topic receiver object to receive message. The fact that the messages are publications should not have any adverse effect.

This is what we do for some applications where the publishers and subscribers are "static" in that there are always the same receivers running all the time rather than "dynamic" in that a consumer only want messages when they are running (e.g. a stock ticket client for example).
_________________
Regards
John
The pain of low quaility far outlasts the joy of low price.
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 » rfhutil
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.