Options
Menu

Module Camel

module

Camel

main

Camel

Index

Object literals

Functions

Variables

Functions

acceptInput

  • acceptInput(nodeIdOrDefinition: any): any

acceptOutput

  • acceptOutput(nodeIdOrDefinition: any): any

addFoldersToIndex

  • addFoldersToIndex(folder: Folder, map?: {}{}): {}

addRouteChild

  • addRouteChild(folder: any, n: any): Folder

addRouteChildren

  • addRouteChildren(folder: Folder, route: any)

addRouteXmlChildren

  • addRouteXmlChildren($scope: any, parent: any, nodes: any, links: any, parentId: any, parentX: any, parentY: any, parentNode?: anynull): Array<any>
  • Parameters

    • $scope: any
    • parent: any
    • nodes: any
    • links: any
    • parentId: any
    • parentX: any
    • parentY: any
    • parentNode?: any optional

    Returns Array<any>

camelContextMBeansByComponentName

  • camelContextMBeansByComponentName(workspace: Workspace): {}

camelContextMBeansById

  • camelContextMBeansById(workspace: Workspace): {}

camelContextMBeansByRouteId

  • camelContextMBeansByRouteId(workspace: Workspace): {}

camelContextMBeansByRouteOrComponentId

  • camelContextMBeansByRouteOrComponentId(workspace: Workspace, componentsOrRoutes: string): {}

camelLanguageSettings

  • camelLanguageSettings(nodeName: any): any

camelProcessorMBeansById

  • camelProcessorMBeansById(workspace: Workspace): {}

clearSelectedRouteNode

  • clearSelectedRouteNode(workspace: Workspace)

createBrowseGridOptions

  • createBrowseGridOptions(): { selectedItems: any[]; data: string; displayFooter: boolean; showFilter: boolean; showColumnMenu: boolean; enableColumnResize: boolean; enableColumnReordering: boolean; filterOptions: { filterText: string; }; selectWithCheckboxOnly: boolean; showSelectionCheckbox: boolean; maintainColumnRatios: boolean; columnDefs: { field: string; displayName: string; cellTemplate: string; }[]; }
  • Returns { selectedItems: any[]; data: string; displayFooter: boolean; showFilter: boolean; showColumnMenu: boolean; enableColumnResize: boolean; enableColumnReordering: boolean; filterOptions: { filterText: string; }; selectWithCheckboxOnly: boolean; showSelectionCheckbox: boolean; maintainColumnRatios: boolean; columnDefs: { field: string; displayName: string; cellTemplate: string; }[]; }

createFolderXmlTree

  • createFolderXmlTree(treeNode: any, xmlNode: any, indent?: stringCamel.increaseIndent("")): any
  • Rebuilds the DOM tree from the tree node and performs all the various hacks to turn the folder / JSON / model into valid camel XML such as renaming language elements from <language expression="foo" language="bar/> to foo and changing into either or

    method

    Parameters

    • treeNode: any

      is either the Node from the tree widget (with the real Folder in the data property) or a Folder

    • xmlNode: any
    • indent?: string optional

    Returns any

createMessageFromXml

  • createMessageFromXml(exchange: any): { headers: {}; headerTypes: {}; id: any; uid: string; timestamp: string; headerHtml: string; }
  • Parameters

    • exchange: any

    Returns { headers: {}; headerTypes: {}; id: any; uid: string; timestamp: string; headerHtml: string; }

escapeEndpointUriNameForJmx

  • escapeEndpointUriNameForJmx(uri: any): any

generateXmlFromFolder

  • generateXmlFromFolder(treeNode: any): any
  • Re-generates the XML document using the given Tree widget Node or Folder as the source

    method

    Parameters

    • treeNode: any

    Returns any

getCamelContextFolder

  • getCamelContextFolder(workspace: any, camelContextId: any): any

getCamelContextMBean

  • getCamelContextMBean(workspace: any, camelContextId: any): any
  • Returns the mbean for the given camel context ID or null if it cannot be found

    Parameters

    • workspace: any
    • camelContextId: any

    Returns any

getCamelSchema

  • getCamelSchema(nodeIdOrDefinition: any): any

getCamelVersion

  • getCamelVersion(workspace: Workspace, jolokia: any): any

getCanvasHeight

  • getCanvasHeight(canvasDiv: any): any

getConfiguredCamelModel

  • getConfiguredCamelModel(): any

getContextAndTargetEndpoint

  • getContextAndTargetEndpoint(workspace: Workspace): { uri: any; mbean: string; }
  • Returns the mbean for the currently selected camel context and the name of the currently selected endpoint for JMX operations on a context that require an endpoint name.

    method

    Parameters

    Returns { uri: any; mbean: string; }

    } either value could be null if there's a parse failure

getContextId

getEndpointCategory

  • getEndpointCategory(endpointName: string): any

getEndpointConfig

  • getEndpointConfig(endpointName: any, category: any): any

getEndpointIcon

  • getEndpointIcon(endpointName: any): any

getExpandingFolderCamelContextMBean

  • getExpandingFolderCamelContextMBean(workspace: Workspace, folder: Folder): string

getFolderCamelNodeId

  • getFolderCamelNodeId(folder: any): any

getRootCamelFolder

  • getRootCamelFolder(workspace: any): any

getRouteFolderJSON

  • getRouteFolderJSON(folder: any, answer?: {}{}): any
  • Returns the JSON data for the camel folder; extracting it from the associated routeXmlNode or using the previously extracted and/or edited JSON

    method

    getRouteFolderJSON

    Parameters

    • folder: any
    • answer?: {} optional

    Returns any

getRouteNodeIcon

  • getRouteNodeIcon(nodeSettingsOrXmlNode: any): string

getRouteNodeJSON

  • getRouteNodeJSON(routeXmlNode: any, answer?: {}{}): {}

getRouteNodeUri

  • getRouteNodeUri(node: any): string
  • Returns the URI string for the given EIP pattern node or null if it is not applicable

    method

    getRouteNodeUri

    Parameters

    • node: any

    Returns string

getSelectedEndpointName

  • getSelectedEndpointName(workspace: Workspace): any
  • Parse out the currently selected endpoint's name to be used when invoking on a context operation that wants an endpoint name

    method

    getSelectedEndpointName

    Parameters

    Returns any

    either a string that is the endpoint name or null if it couldn't be parsed

getSelectedRouteId

  • getSelectedRouteId(workspace: Workspace, folder?: anynull): any

getSelectedRouteNode

  • getSelectedRouteNode(workspace: Workspace): any

getSelectionCamelContextEndpoints

getSelectionCamelContextMBean

  • getSelectionCamelContextMBean(workspace: Workspace): string

getSelectionCamelDebugMBean

  • getSelectionCamelDebugMBean(workspace: any): string

getSelectionCamelInflightRepository

  • getSelectionCamelInflightRepository(workspace: any): string

getSelectionCamelRestRegistry

  • getSelectionCamelRestRegistry(workspace: any): string

getSelectionCamelRouteMetrics

  • getSelectionCamelRouteMetrics(workspace: any): string

getSelectionCamelTraceMBean

  • getSelectionCamelTraceMBean(workspace: any): string
  • Returns the selected camel trace mbean for the given selection or null if it cannot be found

    method

    Parameters

    • workspace: any

    Returns string

getSelectionCamelTypeConverter

  • getSelectionCamelTypeConverter(workspace: any): string

getSelectionRouteMBean

  • getSelectionRouteMBean(workspace: Workspace, routeId: String): string

hideOptionDefaultValue

  • hideOptionDefaultValue(localStorage: any): boolean

hideOptionDocumentation

  • hideOptionDocumentation(localStorage: any): boolean

hideOptionUnusedValue

  • hideOptionUnusedValue(localStorage: any): boolean

highlightSelectedNode

  • highlightSelectedNode(nodes: any, toNode: any)
  • Function to highlight the selected toNode in the nodes graph

    Parameters

    • nodes: any

      the nodes

    • toNode: any

      the node to highlight

humanizeJavaType

  • humanizeJavaType(type: String): String

iconClass

  • iconClass(state: string): string

ignoreIdForLabel

  • ignoreIdForLabel(localStorage: any): boolean
  • Returns true if we should ignore ID values for labels in camel diagrams

    method

    Parameters

    • localStorage: any

    Returns boolean

increaseIndent

  • increaseIndent(currentIndent: string, indentAmount?: string" "): string

initEndpointChooserScope

  • initEndpointChooserScope($scope: any, $location: any, localStorage: WindowLocalStorage, workspace: Workspace, jolokia: any)

isCamelLanguage

  • isCamelLanguage(nodeName: any): boolean

isCamelPattern

  • isCamelPattern(nodeId: any): boolean
  • Returns true if the given nodeId is a route, endpoint or pattern (and not some nested type like a data format)

    method

    Parameters

    • nodeId: any

    Returns boolean

isCamelVersionEQGT

  • isCamelVersionEQGT(major: any, minor: any, workspace: any, jolokia: any): boolean
  • Is the currently selected Camel version equal or greater than

    Parameters

    • major: any

      major version as number

    • minor: any

      minor version as number

    • workspace: any
    • jolokia: any

    Returns boolean

isNextSiblingAddedAsChild

  • isNextSiblingAddedAsChild(nodeIdOrDefinition: any): any
  • Returns true if the given node type prefers adding the next sibling as a child

    method

    Parameters

    • nodeIdOrDefinition: any

    Returns any

isState

  • isState(item: any, state: any): any
  • Returns true if the state of the item begins with the given state - or one of the given states

    method

    Parameters

    • item: any

      the item which has a State

    • state: any

      a value or an array of states

    Returns any

linkToBrowseEndpointFullScreen

  • linkToBrowseEndpointFullScreen(contextId: any, endpointPath: any): string

linkToFullScreenView

  • linkToFullScreenView(workspace: any): string
  • Given a selection in the workspace try figure out the URL to the full screen view

    Parameters

    • workspace: any

    Returns string

linkToRouteDiagramFullScreen

  • linkToRouteDiagramFullScreen(contextId: any, routeId: any): string

loadCamelTree

  • loadCamelTree(xml: any, key: string): Folder

loadRouteXmlNodes

  • loadRouteXmlNodes($scope: any, doc: any, selectedRouteId: any, nodes: any, links: any, width: any)

maximumLabelWidth

  • maximumLabelWidth(localStorage: any): any

maximumTraceOrDebugBodyLength

  • maximumTraceOrDebugBodyLength(localStorage: any): any

processRouteXml

  • processRouteXml(workspace: Workspace, jolokia: any, folder: any, onRoute: any)
  • Looks up the route XML for the given context and selected route and processes the selected route's XML with the given function

    method

    processRouteXml

    Parameters

    • workspace: Workspace
    • jolokia: any
    • folder: any
    • onRoute: any

routeMetricMaxSeconds

  • routeMetricMaxSeconds(localStorage: any): any

setRouteNodeJSON

  • setRouteNodeJSON(routeXmlNode: any, newData: any, indent: any)

showInflightCounter

  • showInflightCounter(localStorage: any): boolean
  • Returns true if we should show inflight counter in Camel route diagram

    method

    Parameters

    • localStorage: any

    Returns boolean

traceOrDebugIncludeStreams

  • traceOrDebugIncludeStreams(localStorage: any): boolean

updateRouteNodeLabelAndTooltip

  • updateRouteNodeLabelAndTooltip(folder: any, routeXmlNode: any, nodeSettings: any): any

Variables

BrowseEndpointController

BrowseEndpointController: ng.IModule

DELIVERY_PERSISTENT

DELIVERY_PERSISTENT: string

_module

_module: ng.IModule

contextToolBar

contextToolBar: string

defaultCamelMaximumTraceOrDebugBodyLength

defaultCamelMaximumTraceOrDebugBodyLength: number

defaultCamelRouteMetricMaxSeconds

defaultCamelRouteMetricMaxSeconds: number

defaultCamelTraceOrDebugIncludeStreams

defaultCamelTraceOrDebugIncludeStreams: boolean

defaultHideOptionDefaultValue

defaultHideOptionDefaultValue: boolean

defaultHideOptionDocumentation

defaultHideOptionDocumentation: boolean

defaultHideOptionUnusedValue

defaultHideOptionUnusedValue: boolean

defaultMaximumLabelWidth

defaultMaximumLabelWidth: number

endpointIcon

endpointIcon: string

endpointToCategory

endpointToCategory: {}

Maps endpoint names to a category object

property
for

Camel

type

{ObjecT}

jmxDomain

jmxDomain: string

log

log: Logging.Logger

pluginName

pluginName: string

routeToolBar

routeToolBar: string

Generated using TypeDoc