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.

Variable Index

 o JMS_FACTORY
 o JNDI_FACTORY

Constructor Index

 o BizServer(String)

Method Index

 o getLog()
 o main(String[])
 o waitForMessages()
Wait for a message to arrive.

Variables

 o JNDI_FACTORY

 public static final String JNDI_FACTORY

 o JMS_FACTORY

 public static final String JMS_FACTORY

Constructors

 o BizServer

 public BizServer(String name)

Methods

 o main

 public static void main(String args[]) throws Exception

 o getLog

 public PrintWriter getLog()

 o 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