Stilts 0.1.0-SNAPSHOT

org.projectodd.stilts.stomp.client
Interface SubscriptionBuilder


public interface SubscriptionBuilder


Method Summary
 ClientSubscription start()
           
 SubscriptionBuilder withAckMode(Subscription.AckMode ackMode)
           
 SubscriptionBuilder withExecutor(Executor executor)
           
 SubscriptionBuilder withHeader(String headerName, String headerValue)
           
 SubscriptionBuilder withMessageHandler(MessageHandler messageHandler)
           
 SubscriptionBuilder withSelector(String selector)
           
 

Method Detail

withSelector

SubscriptionBuilder withSelector(String selector)

withHeader

SubscriptionBuilder withHeader(String headerName,
                               String headerValue)

withMessageHandler

SubscriptionBuilder withMessageHandler(MessageHandler messageHandler)

withAckMode

SubscriptionBuilder withAckMode(Subscription.AckMode ackMode)

withExecutor

SubscriptionBuilder withExecutor(Executor executor)

start

ClientSubscription start()
                         throws StompException
Throws:
StompException

Stilts 0.1.0-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.