|
Joram 5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
org.objectweb.joram.mom.amqp.marshalling.AMQP.Basic.Consume
public static class AMQP.Basic.Consume
This method asks the server to start a "consumer", which is a transient request for messages from a specific queue. Consumers last as long as the channel they were declared on, or until the client cancels them.
Field Summary | |
---|---|
java.util.Map |
arguments
A set of arguments for the consume. |
java.lang.String |
consumerTag
Specifies the identifier for the consumer. |
boolean |
exclusive
Request exclusive consumer access, meaning only this consumer can access the queue. |
static int |
INDEX
|
boolean |
noAck
|
boolean |
noLocal
|
boolean |
noWait
|
java.lang.String |
queue
Specifies the name of the queue to consume from. |
int |
reserved1
|
Fields inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod |
---|
logger, NULL_METHOD_ID |
Constructor Summary | |
---|---|
AMQP.Basic.Consume()
|
|
AMQP.Basic.Consume(int reserved1,
java.lang.String queue,
java.lang.String consumerTag,
boolean noLocal,
boolean noAck,
boolean exclusive,
boolean noWait,
java.util.Map arguments)
This method asks the server to start a "consumer", which is a transient request for messages from a specific queue. |
Method Summary | |
---|---|
int |
getClassId()
|
java.lang.String |
getClassName()
|
int |
getMethodId()
|
java.lang.String |
getMethodName()
|
void |
readFrom(AMQPInputStream in)
|
java.lang.String |
toString()
|
void |
writeTo(AMQPOutputStream out)
|
Methods inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod |
---|
read, toFrame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int reserved1
public java.lang.String queue
public java.lang.String consumerTag
public boolean noLocal
public boolean noAck
public boolean exclusive
public boolean noWait
public java.util.Map arguments
public static final int INDEX
Constructor Detail |
---|
public AMQP.Basic.Consume(int reserved1, java.lang.String queue, java.lang.String consumerTag, boolean noLocal, boolean noAck, boolean exclusive, boolean noWait, java.util.Map arguments)
public AMQP.Basic.Consume()
Method Detail |
---|
public int getMethodId()
getMethodId
in class AbstractMarshallingMethod
public java.lang.String getMethodName()
getMethodName
in class AbstractMarshallingMethod
public int getClassId()
getClassId
in class AbstractMarshallingMethod
public java.lang.String getClassName()
getClassName
in class AbstractMarshallingMethod
public void readFrom(AMQPInputStream in) throws java.io.IOException
readFrom
in class AbstractMarshallingMethod
java.io.IOException
public void writeTo(AMQPOutputStream out) throws java.io.IOException
writeTo
in class AbstractMarshallingMethod
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
|
Joram 5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |