View Javadoc

1   /*
2    * $Id: MethodEntryPointWithTransformerComponent.java 22354 2011-07-08 15:35:50Z dirk.olmes $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.test.integration.resolvers;
12  
13  public class MethodEntryPointWithTransformerComponent
14  {
15      /**
16       * Transforms a message for testing purposes.
17       * <p>
18       * Is referenced by the test configuration because it implements the test
19       * component method which should be call by the MethodEntryPointResolver.
20       */
21      public String transformMessage(String message)
22      {
23          return "Transformed " + message;
24      }
25  }