Package org.jboss.soa.esb.message

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


    if (engine == null) {
      throw new RuntimeException("Failed to locate BPEL engine");
    }
   
    // Create MessagePayloadProxy
    MessagePayloadProxy proxy=new MessagePayloadProxy(_config);
   
    logger.debug("Request: "+message);

    // Get default body value
    Object value=proxy.getPayload(message);
   
    boolean f_toText=(value instanceof String);
   
    org.w3c.dom.Element mesgElem=createMessageElement(value);
   
View Full Code Here


  protected ConfigTree  _config;
   
  public CopyPayloadAction(ConfigTree config) { _config = config; }
 
  public Message process(Message message) throws Exception {
  MessagePayloadProxy proxy=new MessagePayloadProxy(_config);

  Object val=proxy.getPayload(message);

  System.out.println("Payload="+val);

  Message ret=MessageFactory.getInstance().getMessage();

  proxy.setPayload(ret, val);

  return ret;  
  }
View Full Code Here

            legacySetLocations = new String[] {outputLocation, ActionUtils.POST_ACTION_DATA};
        } else {
            legacySetLocations = new String[] {ActionUtils.POST_ACTION_DATA};
        }
       
        payloadProxy = new MessagePayloadProxy(propertiesTree, legacyGetLocations, legacySetLocations);
    }
View Full Code Here

            if(javaResultBeanId != null) {
                payloadProcessor.setJavaResultBeanId(javaResultBeanId);
            }
        }

        payloadProxy = new MessagePayloadProxy( configTree );

        reportPath = configTree.getAttribute("reportPath");

        String mappedContextObjectsConfig = configTree.getAttribute("mappedContextObjects");
        String[] configuredMappedContextObjects;
View Full Code Here

    service = Service.getService(
        config.getRequiredAttribute(ListenerTagNames.SERVICE_CATEGORY_NAME_TAG),
        config.getRequiredAttribute(ListenerTagNames.SERVICE_NAME_TAG) );
    async = config.getBooleanAttribute(ASYNC, true);
    timeout = config.getLongAttribute(TIMEOUT, 30000L);
    payloadProxy = new MessagePayloadProxy(config);
  }
View Full Code Here

     * @throws ConfigurationException "jbossws-endpoint" not specified.
     */
    public SOAPProcessor(ConfigTree config) throws ConfigurationException {
        jbossws_endpoint = config.getRequiredAttribute(WebServiceUtils.JBOSSWS_ENDPOINT);
        jbossws_context = config.getAttribute(WebServiceUtils.JBOSSWS_CONTEXT);
        payloadProxy = new MessagePayloadProxy(config,
                                               new String[] {BytesBody.BYTES_LOCATION, ActionUtils.POST_ACTION_DATA},
                                               new String[] {ActionUtils.POST_ACTION_DATA});
        httpResponseStatusEnabled = ResponseStatus.isHttpEnabled(config);
    }
View Full Code Here

    private boolean cacheScript;
    private MessagePayloadProxy payloadProxy;

    public GroovyActionProcessor(ConfigTree config) throws ConfigurationException {
        this.configTree = config;
        payloadProxy = new MessagePayloadProxy(configTree,
                                               new String[] {BytesBody.BYTES_LOCATION, ActionUtils.POST_ACTION_DATA},
                                               new String[] {ActionUtils.POST_ACTION_DATA});
    }
View Full Code Here

  /*
   * Method for configue the payload proxy
   */
  public void setConfiguration(ConfigTree config) {
    super.setConfiguration(config);
    payloadProxy = new MessagePayloadProxy(config, new String[] {
        ActionUtils.POST_ACTION_DATA, Body.DEFAULT_LOCATION,
        BytesBody.BYTES_LOCATION },
        new String[] { ActionUtils.POST_ACTION_DATA });
    payloadProxy.setNullSetPayloadHandling(NullPayloadHandling.NONE);
  }
View Full Code Here

    private MessagePayloadProxy payloadProxy;
  private MimeDecoder mimeDecoder;

    public void setConfiguration(ConfigTree config) throws ConfigurationException {
        payloadProxy = new MessagePayloadProxy(config,
                new String[] {BytesBody.BYTES_LOCATION},
                new String[] {BytesBody.BYTES_LOCATION});
       
        mimeDecoder = MimeDecoder.Factory.getInstanceByConfigTree(config);
    }
View Full Code Here

   *
   * @param config
   */
  public NotifyFTP(ConfigTree config) {
    this.config = config;
        payloadProxy = new MessagePayloadProxy(config,
                                               new String[] {BytesBody.BYTES_LOCATION},
                                               new String[] {BytesBody.BYTES_LOCATION});
  }
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.