Known Direct Subclasses
|
Known Indirect Subclasses
|
Summary
|
[Expand]
Inherited Methods |
From class
org.mule.module.pubsubhubbub.AbstractPuSHModule
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
org.mule.api.context.MuleContextAware
|
abstract
void
|
setMuleContext(MuleContext arg0)
|
|
Fields
private
long
defaultLeaseSeconds
The default lease time in milliseconds. Defaults to 7 days.
private
PartitionableObjectStore<Serializable>
objectStore
Any implementation of PartitionableObjectStore can be used as a back-end for the hub.
private
int
retryCount
The retry count. Defaults to 12 times.
private
int
retryFrequency
The retry frequency in milliseconds. Defaults to 5 minutes.
Public Constructors
Public Methods
public
long
getDefaultLeaseSeconds
()
public
PartitionableObjectStore<Serializable>
getObjectStore
()
public
int
getRetryCount
()
public
int
getRetryFrequency
()
public
String
handleHubRequest
(String httpMethod, String contentType, Map<String, Object> responseHeaders, String payload)
Parameters
| httpMethod
| The HTTP method name |
| contentType
| The content-type of the request |
| responseHeaders
| The outbound/response headers |
| payload
| The message payload |
Throws
|
| MuleException |
| DecoderException
| |
| MuleException
| |
public
void
setDefaultLeaseSeconds
(long defaultLeaseSeconds)
public
void
setObjectStore
(PartitionableObjectStore<Serializable> objectStore)
public
void
setRetryCount
(int retryCount)
public
void
setRetryFrequency
(int retryFrequency)
public
void
wireResources
()