Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mom4j.messaging
Class PubSubFilter  view PubSubFilter download PubSubFilter.java

java.lang.Object
  extended byorg.mom4j.messaging.PubSubFilter
All Implemented Interfaces:
Filter

public class PubSubFilter
extends java.lang.Object
implements Filter


Field Summary
private  Console console
           
 
Constructor Summary
PubSubFilter(Console c)
           
 
Method Summary
 javax.jms.Message receive(java.lang.String sessionId, java.lang.String destination, java.lang.String consumerId, boolean transacted)
           
 void send(java.lang.String sessionId, java.lang.String destination, javax.jms.Message msg, boolean transacted)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

console

private Console console
Constructor Detail

PubSubFilter

public PubSubFilter(Console c)
Method Detail

send

public void send(java.lang.String sessionId,
                 java.lang.String destination,
                 javax.jms.Message msg,
                 boolean transacted)
          throws java.io.IOException,
                 javax.jms.JMSException
Specified by:
send in interface Filter

receive

public javax.jms.Message receive(java.lang.String sessionId,
                                 java.lang.String destination,
                                 java.lang.String consumerId,
                                 boolean transacted)
                          throws java.io.IOException,
                                 javax.jms.JMSException
Specified by:
receive in interface Filter