Oracle

com.bea.httppubsub
Interface MessageFactory


public interface MessageFactory

Factory interface for creating messages.

Since:
10.3.0.0

Method Summary
 EventMessage createEventMessage(LocalClient client, String channel, String payLoad)
          Create EventMessage object with specified payLoad string.
 

Method Detail

createEventMessage

EventMessage createEventMessage(LocalClient client,
                                String channel,
                                String payLoad)
Create EventMessage object with specified payLoad string. The payLoad string will be used to fill in "data" field of Bayeux event message.

Parameters:
client - LocalClient object
channel - Channel to publish
payLoad - data field in event message.
Returns:
EventMessage object.
Throws:
NullPointerException - if client or payLoad is null.

Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 2008 Oracle