|
WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.bea.wlpi.client.util.JMSTest
A JMS test utility that can publish or subscribe to a JMS topic. Useful when developing and testing workflow triggers and integration with external systems using JMS.
| Method Summary | |
static void |
main(java.lang.String[] args)
Main entry point when executed as a standalone application. |
void |
onMessage(javax.jms.Message msg)
Implements the javax.jms.MessageListener interface. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public static void main(java.lang.String[] args)
weblogic.jndi.WLInitialContextFactory and JMS topic
connection factory javax.jms.TopicConnectionFactory.
args - Command-line arguments, interpreted as follows:
| args[0] | "publish" or
"subscribe". |
| args[1] | JNDI name for JMS topic to which to connect. |
| args[2] | URL of application server hosting JMS. Optional:
defaults to "t3://localhost:7001". |
public void onMessage(javax.jms.Message msg)
javax.jms.MessageListener interface.
The method prints all header field values, followed by the message body.
msg - JMS message received.
|
WebLogic Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||