Package org.jboss.soa.esb.message

Examples of org.jboss.soa.esb.message.MessagePayloadProxy


    actionName = configTree.getAttribute(ListenerTagNames.ACTION_ELEMENT_TAG);
   
    this.bean = bean;
    this.configTree = configTree;

    payloadProxy = new MessagePayloadProxy(configTree);
   
    Map<String, Method> processMethods = getAnnotatedMethods(bean.getClass(), Process.class);
    if(processMethods.isEmpty()) {
      throw new IllegalArgumentException("Invalid Bean Action type '" + bean.getClass().getName() + "'. An Action bean must contain at least one public method annotated with the @ProcessMethod annotation.");
    }
View Full Code Here


        {
            schemaLocation = '/' + getClass().getPackage().getName().replace('.', '/') + '/' + xsd ;
        }
        schemaLanguage = config.getAttribute("schemaLanguage", XMLConstants.W3C_XML_SCHEMA_NS_URI);

        payloadProxy = new MessagePayloadProxy(config);
        try
        {
            schema = XMLHelper.getSchema(schemaLocation, schemaLanguage);
        }
        catch (final SAXException e)
View Full Code Here

    public NotifySqlTable (ConfigTree configTree) throws ConfigurationException
  {
    super(configTree);

        payloadProxy = new MessagePayloadProxy(configTree,
                                               new String[] {BytesBody.BYTES_LOCATION},
                                               new String[] {BytesBody.BYTES_LOCATION});
  } // __________________________________
View Full Code Here

     * Public constructor.
     * @param configTree Action Properties.
     * @throws ConfigurationException Action not properly configured.
     */
    public ObjectToXStream(ConfigTree configTree) {
        payloadProxy = new MessagePayloadProxy(configTree,
                                               new String[] {BytesBody.BYTES_LOCATION, ActionUtils.POST_ACTION_DATA},
                                               new String[] {ActionUtils.POST_ACTION_DATA});
        classAlias = configTree.getAttribute(ATTR_CLASS_ALIAS);
        excludePackage = configTree.getAttribute(ATTR_EXCLUDE_PACKAGE, "true").equals("true");
        namespaces = getNamespaces(configTree);
View Full Code Here

    {
        this.config = config;
        checkValidAddress((String) config.getAttribute(Email.FROM), true);
        checkValidAddress((String) config.getAttribute(Email.SENDTO), false);
        checkValidAddress((String) config.getAttribute(Email.COPYTO), true);
        payloadProxy = new MessagePayloadProxy(config);
    }
View Full Code Here

    private String _charset = null;

    @Override
    public void setConfiguration(ConfigTree config) throws ConfigurationException {
        super.setConfiguration(config) ;
        payloadProxy = new MessagePayloadProxy(config);
       
        _contentType = config.getAttribute(CONTENT_TYPE);
        _charset = config.getAttribute(CHARSET);
    }
View Full Code Here

     * @param properties Action Properties.
     * @throws ConfigurationException Action not properly configured.
     */
    public ObjectToCSVString(ConfigTree properties) throws ConfigurationException {
      this("ObjectToCSVString", properties.attributesAsList());
        payloadProxy = new MessagePayloadProxy(properties,
                                               new String[] {BytesBody.BYTES_LOCATION, ActionUtils.POST_ACTION_DATA},
                                               new String[] {ActionUtils.POST_ACTION_DATA});
    }
View Full Code Here

     * Set the composers configuration.
     * @param config
     */
    public void setConfiguration(ConfigTree config) {
        this.configuration = config;
        payloadProxy = new MessagePayloadProxy(config,
                new String[] {ActionUtils.POST_ACTION_DATA, Body.DEFAULT_LOCATION, BytesBody.BYTES_LOCATION},
                new String[] {Body.DEFAULT_LOCATION});
    }
View Full Code Here

  @Before
  public void setup()
  {
        ConfigTree emptyConfig = new ConfigTree("empty");
        MessagePayloadProxy proxy = PackageJmsMessageContents.createPayloadProxy(emptyConfig);

        packer = new PackageJmsMessageContents(proxy);
    objectMsg = new ObjectMessageImpl();
  }
View Full Code Here

{
  private Logger log = Logger.getLogger( LongToDateConverter.class );
    private MessagePayloadProxy payloadProxy;

    public LongToDateConverter(ConfigTree config) {
        payloadProxy = new MessagePayloadProxy(config,
                                               new String[] {ActionUtils.POST_ACTION_DATA},
                                               new String[] {ActionUtils.POST_ACTION_DATA});
    }
View Full Code Here

TOP

Related Classes of org.jboss.soa.esb.message.MessagePayloadProxy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.