Page tree
Skip to end of metadata
Go to start of metadata

The org.opencode4workspace.endpoints.MessagePostEndpoint is used to post a message (an AppMessage object) to a Space and retrieve a MessageResponse object corresponding to a successful posting.

The MessagePostEndpoint is instantiated, like the other endpoints, by passing in the WWClient for the request. The message is posted using the postMessage(AppMessage message, String spaceId) method. Alternatively, the WWClient.postMessageToSpace(AppMessage message, String spaceId) helper method is available for easier use.

A new AppMessageBuilder object is instantiated. The setters return the current AppMessageBuilder, allowing the methods to be chained (see the example below if clarification is required). The various properties of the builder are set. The AppMessageBuilder's build() method returns a new AppMessage object ready to be passed to Watson Work Services.

If the posting is successful, a MessageResponse object is returned comprising the String id of the creator of the message, the created Date, the String version of the message and the String id of the message.

    AppMessageBuilder builder = new AppMessageBuilder();
    builder.setMessage("Message from *build process* - Integration Testing").setMessageTitle("IT-Testing");
    AppMessage message =;
    MessageResponse response = client.postMessageToSpace(message, spaceId);
    assert (response != null);
    assert (!"".equals(response.getId()));


  1. Anonymous

    online slots no download how to play 5 reel slot machines online casinos that accept us players best flash online casinos rtg online casino bonus high roller casino download slot games for real money rtg casino for mac online slots deposit options sign up bonus slot machines

  2. Anonymous

    I think it may be necessary to set the same username and password on all machines that will be connecting with Net DDE using Wonderware’s change network account utility which is available from Start > Assignment help > Programs > Wonderware > Common.

  3. Anonymous

    Message Builder is a useful asset you can use to send customized voice, content and email messages to your individuals. This is finished by consolidating message parts, called segments, into an entire message that is distinctive for every individual accepting it. pay to write a paper | Best Assignment Service You can utilize any Text-to-Speech records or Audio Library things for your message segments. A transferred information document or even the Contacts record can give names to customize the message.

  4. Anonymous

    A query letter includes the novel's title, word count, and genre in the first paragraph, or the second paragraph if it opens with a hook. Assignment Help UK available.

  5. Anonymous

    As you all know login and password must be necessary for all website where traffic is on. Essay writing Help In Pakistan offer essay writing on any topic and professional writers write your essay at reasonable rates. Now those students didn't worry about the essay writing. 

  6. Anonymous

    It's very useful post especially internee of the programmer. I am also doing software engineering and my teacher gives many assignments and my writing skills are not good so Assignment Writing Service helps me for making my assignment on cheap rates they provide quality writing. 

  7. Anonymous

    It is the most trustworthy technique to post a message in an App. I want to create and post a message in my Cheapest Essay Website App where we assist the student in the making of quality essay assignments at a discounted price without any flaw and 100% qualitative. 

Write a comment…