cgl.narada.wsinfra.messaging.interactions.wse
Class WSESubscriberWithPublisher
java.lang.Object
cgl.narada.wsinfra.messaging.wse.WseFrameworkIndicator
cgl.narada.wsinfra.messaging.interactions.wse.WSESubscriberInteraction
cgl.narada.wsinfra.messaging.interactions.wse.WSESubscriberWithPublisher
- All Implemented Interfaces:
- FrameworkIndicator, SubscriberInteraction, SubscriberWithPublisher
public class WSESubscriberWithPublisher
- extends WSESubscriberInteraction
- implements SubscriberWithPublisher
|
Method Summary |
EnvelopeDocument |
createSubscribe(EndpointReferenceType sourceEPR,
String filterConstraint,
Calendar expiresAt)
Create a subscribe request based on the specified parameters. |
EnvelopeDocument |
createSubscribe(EndpointReferenceType sourceEPR,
String filterDialect,
String filterConstraint,
Calendar expiresAt)
Create a subscribe request based on the specified parameters. |
void |
subscribe(EndpointReferenceType sourceEPR,
String filterConstraint,
Calendar expiresAt)
Issue a subscribe request based on the specified arguments. |
void |
subscribe(EndpointReferenceType sourceEPR,
String filterDialect,
String filterConstraint,
Calendar expiresAt)
Issue a subscribe request based on the specified arguments. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSESubscriberWithPublisher
public WSESubscriberWithPublisher(WseSinkProcessor wseSinkProcessor)
subscribe
public void subscribe(EndpointReferenceType sourceEPR,
String filterDialect,
String filterConstraint,
Calendar expiresAt)
throws ProcessingException,
MessageFlowException
- Description copied from interface:
SubscriberWithPublisher
- Issue a subscribe request based on the specified arguments.
- Specified by:
subscribe in interface SubscriberWithPublisher
- Parameters:
sourceEPR - The EPR of the publisher in questionfilterDialect - The filter dialect associated with the subscriptionfilterConstraint - The filter constraint associated with the subscriptionexpiresAt - The time at which this subscription has been scheduled to
expire.
- Throws:
ProcessingException - This exception is thrown if there are problems
with the arguments or in the creation of the subscription message.
MessageFlowException - this exception is thrown if there are problems
in routing the message.- See Also:
SubscriberWithPublisher.subscribe(cgl.narada.wsinfra.schemas.addressing.EndpointReferenceType, java.lang.String, java.lang.String, java.util.Calendar)
subscribe
public void subscribe(EndpointReferenceType sourceEPR,
String filterConstraint,
Calendar expiresAt)
throws ProcessingException,
MessageFlowException
- Description copied from interface:
SubscriberWithPublisher
- Issue a subscribe request based on the specified arguments. The default
filter dialect is associated with this subscription request.
- Specified by:
subscribe in interface SubscriberWithPublisher
- Parameters:
sourceEPR - The EPR of the publisher in questionfilterConstraint - The filter constraint associated with the subscriptionexpiresAt - The time at which this subscription has been scheduled to
expire.
- Throws:
ProcessingException - This exception is thrown if there are problems
with the arguments or in the creation of the subscription message.
MessageFlowException- See Also:
SubscriberWithPublisher.subscribe(cgl.narada.wsinfra.schemas.addressing.EndpointReferenceType, java.lang.String, java.util.Calendar)
createSubscribe
public EnvelopeDocument createSubscribe(EndpointReferenceType sourceEPR,
String filterDialect,
String filterConstraint,
Calendar expiresAt)
throws ProcessingException
- Description copied from interface:
SubscriberWithPublisher
- Create a subscribe request based on the specified parameters.
- Specified by:
createSubscribe in interface SubscriberWithPublisher
- Parameters:
sourceEPR - The EPR of the publisher in questionfilterDialect - The filter dialect associated with the subscriptionfilterConstraint - The filter constraint associated with the subscriptionexpiresAt - The time at which this subscription has been scheduled to
expire.
- Returns:
- The EnvelopeDocument containing this subscription request
- Throws:
ProcessingException - This exception is thrown if there are problems
with the arguments or in the creation of the subscription message.- See Also:
SubscriberWithPublisher.createSubscribe(cgl.narada.wsinfra.schemas.addressing.EndpointReferenceType, java.lang.String, java.lang.String, java.util.Calendar)
createSubscribe
public EnvelopeDocument createSubscribe(EndpointReferenceType sourceEPR,
String filterConstraint,
Calendar expiresAt)
throws ProcessingException
- Description copied from interface:
SubscriberWithPublisher
- Create a subscribe request based on the specified parameters. The default
filter dialect is associated with this subscription request.
- Specified by:
createSubscribe in interface SubscriberWithPublisher
- Parameters:
sourceEPR - The EPR of the publisher in questionfilterConstraint - The filter constraint associated with the subscriptionexpiresAt - The time at which this subscription has been scheduled to
expire.
- Returns:
- The EnvelopeDocument containing this subscription request
- Throws:
ProcessingException - This exception is thrown if there are problems
with the arguments or in the creation of the subscription message.- See Also:
SubscriberWithPublisher.createSubscribe(cgl.narada.wsinfra.schemas.addressing.EndpointReferenceType, java.lang.String, java.util.Calendar)
For comments and suggestions please send
e-mail to
The NaradaBrokering Project