| java.lang.Object | |
| ↳ | org.mule.yammer.YammerConnector |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Connector for Yammer related functions. Yammer is a social-network-like internal corporate communications system, where users are able to post messages, follow users, images and so on in a manner like Facebook or Twitter. This connector allows to:
It's necessary to set in yammer (https://www.yammer.com/client_applications where you can create an application or edit it) the next Callback URL:
http://{host}:{port}/yammerCodeRetrievingPath
where the {host} is the same host as the Website of the yammer application.
Then you have to configure yammer:
<http:connector name="connector.http.mule.default" enableCookies="true" keepAlive="true" />
<yammer:config consumerKey="${consumerKey}" consumerSecret="${consumerSecret}">
<yammer:http-callback-config domain="{host}" remotePort="SOME_PORT" localPort="{port}" />
</yammer:config>
where {host} and {port} are the same of the Callback URL used before.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| accessToken | |||||||||||
| client | |||||||||||
| consumerKey | The OAuth consumer key | ||||||||||
| consumerSecret | The OAuth consumer secret | ||||||||||
| debug | If connector should be run in debug mode. | ||||||||||
| logger | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new message in the account of the logged-in user.
| |||||||||||
Answers the list of messages followed by the logged-in user.
| |||||||||||
Answers all messages in this network.
| |||||||||||
Answers the whole list of private Messages (aka Direct Messages) for the logged-in user.
| |||||||||||
Answers the list of messages received by the logged-in user.
| |||||||||||
Relationship
| |||||||||||
Answers the whole list of messages sent by the current user.
| |||||||||||
A single user by email.
| |||||||||||
A single user by id.
| |||||||||||
All users in this network
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a WebResource with the proper oauth authentication information.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
The OAuth consumer key
The OAuth consumer secret
If connector should be run in debug mode. This enables logging of HTTP activity against Yammer
Creates a new message in the account of the logged-in user.
| body | The content of the message to create |
|---|
Answers the list of messages followed by the logged-in user. Corresponds to the "My Feed" tab on the website.
Messages
Answers all messages in this network. Corresponds to the "Company Feed" tab on the website.
Messages
Answers the whole list of private Messages (aka Direct Messages) for the logged-in user. Corresponds to the "Direct Messages" section on the website.
Messages
Answers the list of messages received by the logged-in user. Corresponds to the "Received" tab on the website.
Messages
Relationship
| id | Yammer user id |
|---|
Answers the whole list of messages sent by the current user. Corresponds to the "Sent" tab on the website.
Messages
A single user by email.
| Yammer user email |
A single user by id.
| id | Yammer unique user id |
|---|
| accessToken |
|---|
| client |
|---|
| applicationKey |
|---|
| applicationSecret |
|---|
| debug |
|---|
Creates a WebResource with the proper oauth authentication information.
| url | The url of the resource |
|---|---|
| accessToken | OAuth access token |