| 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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
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.
| |||||||||||
Answers the whole list of messages sent by the current user.
| |||||||||||
| 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
Answers the list of messages followed by the logged-in user. Corresponds to the "My Feed" tab on the website.
| accessToken | OAuth access token |
|---|
Messages
Answers all messages in this network. Corresponds to the "Company Feed" tab on the website.
| accessToken | OAuth access token |
|---|
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.
| accessToken | OAuth access token |
|---|
Messages
Answers the list of messages received by the logged-in user. Corresponds to the "Received" tab on the website.
| accessToken | OAuth access token |
|---|
Messages
Answers the whole list of messages sent by the current user. Corresponds to the "Sent" tab on the website.
| accessToken | OAuth access token |
|---|
Messages
| client |
|---|
| applicationKey |
|---|
| applicationSecret |
|---|
| debug |
|---|
Creates a WebResource with the proper oauth authentication information.
| url | The url of the resource |
|---|---|
| accessToken | OAuth access token |