Package org.fusesource.ide.camel.model.io

Examples of org.fusesource.ide.camel.model.io.XmlContainerMarshaller


   
    String filePath = CamelDebugUtils.getRawCamelContextFilePathFromLaunchConfig(getLaunch().getLaunchConfiguration());
    if (filePath != null) {
      File f = new File(filePath);
      if (f.exists() && f.isFile() && CamelUtils.isCamelContextFile(filePath)) {
        XmlContainerMarshaller m = new XmlContainerMarshaller();
        RouteContainer c = m.loadRoutes(f)
        if (c != null) {
          this.camelContextId = c.getCamelContextId();
        }
        if (CamelUtils.isBlueprintFile(filePath)) {
          this.contentType = ICamelDebugConstants.CAMEL_CONTEXT_CONTENT_TYPE_BLUEPRINT;
View Full Code Here


    return null;
  }

  @Override
  public RouteContainer loadModel() {
    return new XmlContainerMarshaller().loadRoutesFromText(this.debugger.getContextXmlDump());
  }
View Full Code Here

  public boolean isCreateTasks() {
    return fCreateTasks;
  }

  protected TreeNode loadEndpointSummary() {
    ContainerMarshaler marshaller = new XmlContainerMarshaller();
    RouteContainer routeContainer = marshaller.loadRoutes(xmlFileUnderTest);
    EndpointSummary summary = new EndpointSummary(routeContainer);

    TreeNode root = new TreeNode("Endpoints");
    TreeNode inputs = new TreeNode("Inputs");
    TreeNode outputs = new TreeNode("Outputs");
View Full Code Here

TOP

Related Classes of org.fusesource.ide.camel.model.io.XmlContainerMarshaller

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.