|
Joram 5.2.4 | ||||||||
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.Publish
public static class AMQP.Basic.Publish
This method publishes a message to a specific exchange. The message will be routed to queues as defined by the exchange configuration and distributed to any active consumers when the transaction, if any, is committed.
Field Summary | |
---|---|
java.lang.String |
exchange
Specifies the name of the exchange to publish to. |
boolean |
immediate
This flag tells the server how to react if the message cannot be routed to a queue consumer immediately. |
static int |
INDEX
|
boolean |
mandatory
This flag tells the server how to react if the message cannot be routed to a queue. |
int |
reserved1
|
java.lang.String |
routingKey
Specifies the routing key for the message. |
Fields inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod |
---|
logger, NULL_METHOD_ID |
Constructor Summary | |
---|---|
AMQP.Basic.Publish()
|
|
AMQP.Basic.Publish(int reserved1,
java.lang.String exchange,
java.lang.String routingKey,
boolean mandatory,
boolean immediate)
This method publishes a message to a specific exchange. |
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 exchange
public java.lang.String routingKey
public boolean mandatory
public boolean immediate
public static final int INDEX
Constructor Detail |
---|
public AMQP.Basic.Publish(int reserved1, java.lang.String exchange, java.lang.String routingKey, boolean mandatory, boolean immediate)
public AMQP.Basic.Publish()
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.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |