/**
   * jboss-esb.xml is the esb configuration file. Test Proxy over WMQ.
   *
   * @throws Exception if generation fails
   */
  public void testProxyWmq() throws Exception {

    getParameters().put("generationTarget", "proxy");
    setPojoParameters();
    setWmqTransport();
    CixsJbossEsbService esbService = Samples.getJvmQueryService();

    File serviceConfFilesDir = new File(new File(GEN_CONF_DIR, "META-INF"), esbService.getName());
    CodeGenUtil.checkDirectory(serviceConfFilesDir, true);
    AbstractCixsJbossEsbGenerator.generateConfigurationXml(
        esbService, getParameters(), serviceConfFilesDir);
    check("jboss-esb.xml", serviceConfFilesDir);
  }
 /**
  * Create the Jboss ESB invoker action class file.
  *
  * @param service the Jboss ESB service description
  * @param parameters miscellaneous help parameters
  * @param serviceClassFilesDir where to store the generated file
  * @throws CodeGenMakeException if generation fails
  */
 public static void generateInvokerAction(
     final CixsJbossEsbService service,
     final Map<String, Object> parameters,
     final File serviceClassFilesDir)
     throws CodeGenMakeException {
   generateFile(
       CIXS_JBOSSESB_GENERATOR_NAME,
       ADAPTER_ACTION_VLC_TEMPLATE,
       SERVICE_MODEL_NAME,
       service,
       parameters,
       serviceClassFilesDir,
       service.getInterfaceClassName() + "Action.java");
 }