Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, 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.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD