Package org.jboss.soa.esb.actions

Examples of org.jboss.soa.esb.actions.ActionProcessingException


        WSMethod wsMethod = wsmethodsMap.get(name);
        if (wsMethod != null)
        {
            return wsMethod;
        }
        throw new ActionProcessingException("No WSMethod found for " + name);
    }
View Full Code Here


        {
            payloadProxy.setPayload(message, result.getMappedResult(mapper));
        }
        catch (final Exception e)
        {
            throw new ActionProcessingException("Could not set payload to SOAP message", e);
        }
        return message;
    }
View Full Code Here

      Boolean b = (Boolean)inter.get(BEANSHELL_VARIABLE);
      if (b.booleanValue()) {
          mvelMonitor.addEvent(message, mpb);
      }
              } catch (ObjectMappingException e1) {
      throw new ActionProcessingException(e1);
              } catch (EvalError e) {
                  throw new ActionProcessingException(e);
              }
          }
      }     
      return message;
  }
View Full Code Here

    public Message process(final Message message) throws ActionProcessingException {
        String addition = (String) message.getProperties().getProperty("addition");
        File buildDirFile = new File(buildDir);

        if(!buildDirFile.exists()) {
            throw new ActionProcessingException("Invalid 'build.dir' dir '" + buildDirFile.getAbsolutePath() + "'.");
        }

        File file = new File(buildDirFile, FILE_PREFIX + addition);
        try {
            logger.info("Creating file " + file.getAbsolutePath());
            file.createNewFile();
        } catch (IOException e) {
            throw new ActionProcessingException("Failed to create file '" + file.getAbsolutePath() + "'.");
        }

        return message;
    }
View Full Code Here

      {
          stats = (StatsMBean)MBeanProxyExt.create(StatsMBean.class, StatsMBean.objectName, server);
      }
      catch (final MalformedObjectNameException mone)
      {
          throw new ActionProcessingException("Error creating MBean proxy", mone) ;
      }
      stats.setExecutedVersion("scope1");
      return message;
   }
View Full Code Here

      }
      return message;
    }
    catch (MessageDeliverException mde)
    {
      throw new ActionProcessingException(mde);
    }
  }
View Full Code Here

TOP

Related Classes of org.jboss.soa.esb.actions.ActionProcessingException

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.