| Namespace | http://www.mulesoft.org/schema/mule/jive |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/jive/1.0/mule-jive.xsd |
| Version | 1.0 |
| Minimum Mule Version | 3.2 |
Provides Jive connectivity to Mule:
| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Counts all the instances of the given entity type
| |||||||||||
Creates an entity of the given type.
| |||||||||||
Deletes an existent entity
If there is no entity with the given id the system will throw a
JiveGenericException
with the message returned from the server. | |||||||||||
Executes a custom operation
If a wrong number of attributes is sent, or the operation requires an entity an none is sent, the system will repond with a JiveGenericException. | |||||||||||
Retrieves the attributes for the entity of the given type and id.
| |||||||||||
Answers the id of the logged user
| |||||||||||
Updates an existent entity
If the entity you are trying to update doesn't exist, the system thorws a
JiveGenericException
with an aclaratory message. | |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jive="http://www.mulesoft.org/schema/mule/jive"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/jive
http://www.mulesoft.org/schema/mule/jive/1.0/mule-jive.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necesary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
| Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Name | Default Value | Description | Optional. Give a name to this configuration so it can be later referenced. | |||||||
| Optional. The jive facade | |||||||||||
| The base rest server url | |||||||||||
| The password. | |||||||||||
| The username to access the jive instance. | |||||||||||
Counts all the instances of the given entity type
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The entity type to be counted |
Creates an entity of the given type.
If the entity already exists or cannot be created the system throws a JiveGenericException
with the correspondat message.
If the data pass in entity it's not the data expected the system will throw a JiveGenericException
with the correspondant message.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The type of entity to create |
Deletes an existent entity
If there is no entity with the given id the system will throw a JiveGenericException
with the message returned from the server.
If the number of arguments is wrong the system will throw a JiveGenericException
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The entity type | ||
| The id of the entity to delete |
Executes a custom operation
INCLUDE_ERROR
JiveGenericException.| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The custom operation to be executed | ||
| Optional. The path parameters to be added to the operation uri |
Retrieves the attributes for the entity of the given type and id.
INCLUDE_ERROR
JiveGenericException with the correponging message.| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The entity type | ||
| The entity id |
Answers the id of the logged user
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. |
Updates an existent entity
If the entity you are trying to update doesn't exist, the system thorws a JiveGenericException
with an aclaratory message.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The type of entity to update |