org.jboss.messaging.core.client.impl
Class ClientProducerImpl
java.lang.Object
org.jboss.messaging.core.client.impl.ClientProducerImpl
- All Implemented Interfaces:
- ClientProducer, ClientProducerInternal
public class ClientProducerImpl
- extends java.lang.Object
- implements ClientProducerInternal
The client-side Producer connectionFactory class.
- Version:
- $Revision: 7221 $ $Id: ClientProducerImpl.java 7221 2009-06-05 11:54:21Z timfox $
- Author:
- Tim Fox, Clebert Suconic, Andy Taylor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientProducerImpl
public ClientProducerImpl(ClientSessionInternal session,
SimpleString address,
TokenBucketLimiter rateLimiter,
boolean blockOnNonPersistentSend,
boolean blockOnPersistentSend,
boolean autoGroup,
int minLargeMessageSize,
Channel channel)
getAddress
public SimpleString getAddress()
- Specified by:
getAddress
in interface ClientProducer
send
public void send(Message msg)
throws MessagingException
- Specified by:
send
in interface ClientProducer
- Throws:
MessagingException
send
public void send(SimpleString address,
Message msg)
throws MessagingException
- Specified by:
send
in interface ClientProducer
- Throws:
MessagingException
send
public void send(java.lang.String address,
Message message)
throws MessagingException
- Specified by:
send
in interface ClientProducer
- Throws:
MessagingException
close
public void close()
throws MessagingException
- Specified by:
close
in interface ClientProducer
- Throws:
MessagingException
cleanUp
public void cleanUp()
- Specified by:
cleanUp
in interface ClientProducerInternal
isClosed
public boolean isClosed()
- Specified by:
isClosed
in interface ClientProducer
isBlockOnPersistentSend
public boolean isBlockOnPersistentSend()
- Specified by:
isBlockOnPersistentSend
in interface ClientProducer
isBlockOnNonPersistentSend
public boolean isBlockOnNonPersistentSend()
- Specified by:
isBlockOnNonPersistentSend
in interface ClientProducer
getMaxRate
public int getMaxRate()
- Specified by:
getMaxRate
in interface ClientProducer
Copyright © 2006 JBoss Inc. All Rights Reserved.