Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

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.

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06