Documentation ¶
Index ¶
- Constants
- func GetCreationError(jdata *jolokia.ResponseData) string
- type Artemis
- func (artemis *Artemis) CreateAddress(addressName string, routingType string) (*jolokia.ResponseData, error)
- func (artemis *Artemis) CreateQueue(addressName string, queueName string, routingType string) (*jolokia.ResponseData, error)
- func (artemis *Artemis) CreateQueueFromConfig(queueConfig string, ignoreIfExists bool) (*jolokia.ResponseData, error)
- func (artemis *Artemis) DeleteAddress(addressName string) (*jolokia.ResponseData, error)
- func (artemis *Artemis) DeleteQueue(queueName string) (*jolokia.ResponseData, error)
- func (artemis *Artemis) GetStatus() (string, error)
- func (artemis *Artemis) ListBindingsForAddress(addressName string) (*jolokia.ResponseData, error)
- func (artemis *Artemis) UpdateQueue(queueConfig string) (*jolokia.ResponseData, error)
- func (artemis *Artemis) Uptime() (*jolokia.ResponseData, error)
- type IArtemis
Constants ¶
View Source
const ( QUEUE_ALREADY_EXISTS = "AMQ229019" ADDRESS_ALREADY_EXISTS = "AMQ229204" UNKNOWN_ERROR = "AMQ_UNKNOWN" )
Variables ¶
This section is empty.
Functions ¶
func GetCreationError ¶
func GetCreationError(jdata *jolokia.ResponseData) string
Types ¶
type Artemis ¶
type Artemis struct {
// contains filtered or unexported fields
}
func GetArtemis ¶
func NewArtemis ¶
func (*Artemis) CreateAddress ¶
func (*Artemis) CreateQueue ¶
func (*Artemis) CreateQueueFromConfig ¶
func (*Artemis) DeleteAddress ¶
func (artemis *Artemis) DeleteAddress(addressName string) (*jolokia.ResponseData, error)
func (*Artemis) DeleteQueue ¶
func (artemis *Artemis) DeleteQueue(queueName string) (*jolokia.ResponseData, error)
func (*Artemis) ListBindingsForAddress ¶
func (artemis *Artemis) ListBindingsForAddress(addressName string) (*jolokia.ResponseData, error)
func (*Artemis) UpdateQueue ¶
func (artemis *Artemis) UpdateQueue(queueConfig string) (*jolokia.ResponseData, error)
type IArtemis ¶
type IArtemis interface { NewArtemis(_ip string, _jolokiaPort string, _name string, _userName string, _password string) *Artemis Uptime() (*jolokia.ResponseData, error) CreateQueue(addressName string, queueName string) (*jolokia.ResponseData, error) DeleteQueue(queueName string) (*jolokia.ResponseData, error) ListBindingsForAddress(addressName string) (*jolokia.ResponseData, error) DeleteAddress(addressName string) (*jolokia.ResponseData, error) CreateQueueFromConfig(queueConfig string, ignoreIfExists bool) (jolokia.ResponseData, error) UpdateQueue(queueConfig string) (jolokia.ResponseData, error) }
Click to show internal directories.
Click to hide internal directories.