You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

A requirement of the JBI/JSR208 is to allow the remote installation, deployment and management of Components. A prefered way of doing this is by Ant Tasks, that use the JMX interfaces exposed by the management of the Container.

JbiTask

All ServiceMix Ant Tasks are derived from JbiTask - see JbiTask and share it's attributes:

Attributes

Name

type

Description

serverProtocol

String

the default protcol used for connecting with the ServiceMix JMX MBeanServer (default is rmi)

namingHost

String

hostname of the naming server (default is localhost)

containerName

String

name of the ServiceMix JBI Container to connect to (default is defaultJBI)

jmxDomainName

String

domain name of the MBeanServer used by the ServiceMix JBI Container (default is org.servicemix)

namingPort

int

The port the naming server listens for connections on (default is 1099)

jndiPath

String

The path in the naming server to retrieve the JMX Connection (default is /<container name>JMX)

username

String

user name for the JMXConnection (default is "")

passwd

String

passwd for the JMXConnection (default is "")

failOnError

boolean

fail the build if an error occurs (default is true)

AntTasks derived from JbiTask include:

  • No labels