Package org.fusesource.ide.launcher.debug.model.variables

Examples of org.fusesource.ide.launcher.debug.model.variables.CamelHeaderVariable


  private void initHeaders() throws DebugException {
    BaseCamelVariable var = null;
    BaseCamelValue val = null;

    for (Header h : this.headers) {
      var = new CamelHeaderVariable(this.debugTarget, h.getKey(), String.class, parent);
      val = new CamelHeaderValue(this.fTarget, h, var.getReferenceType());
      var.setValue(val);
      this.fVariables.add(var);
    }
  }
View Full Code Here


   * @param value
   */
  public void addHeader(String key, String value) {
    try {
      this.debugTarget.getDebugger().setMessageHeaderOnBreakpoint(this.debugTarget.getSuspendedNodeId(), key, value);
      CamelHeaderVariable newVar = new CamelHeaderVariable(debugTarget, key, String.class, parent);
      CamelHeaderValue newVal = new CamelHeaderValue(debugTarget, new Header(key, value, String.class.getName()), String.class);
      newVar.setValue(newVal);
      newVar.markChanged();
      this.fVariables.add(newVar);
    } catch (DebugException ex) {
      Activator.getLogger().error(ex);
    } finally {
      fireCreationEvent();
View Full Code Here

TOP

Related Classes of org.fusesource.ide.launcher.debug.model.variables.CamelHeaderVariable

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.