All Examples XML Examples BizTalk Example
Class examples.xml.biztalk.BizServer
java.lang.Object
|
+----examples.xml.biztalk.BizServer
- public class BizServer
- extends Object
BizServer pulls messages off of the BizTalk queue, constructs
a DOMIncomingMessage
and dispatches it to registered BizBeans. Within the
waitForMessages method,
the QueueReceiver does an explicit receive. This means that
this is a singled-threaded implementation, i.e. the thread running the server
will pause until a message is received. To make this a mutli-threaded application,
you would have to implement the JMS MessageListener interface. See
WebLogic JMS documentation for more information.
A BizServer can be run using the examples.xml.biztalk.AdminCLU utility.
- Author:
- Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved.
-
JMS_FACTORY
-
-
JNDI_FACTORY
-
-
BizServer(String)
-
-
getLog()
-
-
main(String[])
-
-
waitForMessages()
- Wait for a message to arrive.
JNDI_FACTORY
public static final String JNDI_FACTORY
JMS_FACTORY
public static final String JMS_FACTORY
BizServer
public BizServer(String name)
main
public static void main(String args[]) throws Exception
getLog
public PrintWriter getLog()
waitForMessages
public void waitForMessages()
- Wait for a message to arrive. The message
is validated as a Biztalk document, parsed into a
DOMIncomingMessage object and passed to registered beans.
All Examples XML Examples BizTalk Example