Class BrokerClient
java.lang.Object
org.wso2.carbon.event.client.broker.BrokerClient
Deprecated.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBrokerClient(String brokerUrl) Deprecated.BrokerClient(String brokerUrl, String cookie) Deprecated.BrokerClient(String brokerUrl, String userName, String password) Deprecated.BrokerClient(org.apache.axis2.context.ConfigurationContext configurationContext, String brokerUrl, String cookie) Deprecated.BrokerClient(org.apache.axis2.context.ConfigurationContext configurationContext, String brokerUrl, String userName, String password) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.wso2.carbon.event.client.stub.generated.SubscriptionDetails[]Deprecated.org.wso2.carbon.event.client.stub.generated.GetSubscriptionsResponsegetAllSubscriptions(int maxRequestCount, String resultFilter, int firstIndex) Deprecated.voidDeprecated.Publishes a message to a topic.voidDeprecated.voidrenewSubscription(String subscriptionID, long time) Deprecated.Deprecated.subscribe(String topic, String eventSinkUrl, long expirationTime, org.apache.axiom.om.OMElement[] extensions) Deprecated.voidunsubscribe(String subscriptionID) Deprecated.
-
Field Details
-
WSE_EVENTING_NS
Deprecated.- See Also:
-
WSE_EN_IDENTIFIER
Deprecated.- See Also:
-
-
Constructor Details
-
BrokerClient
public BrokerClient(String brokerUrl, String userName, String password) throws org.apache.axis2.AxisFault, org.wso2.carbon.event.client.stub.generated.authentication.AuthenticationExceptionException Deprecated.- Throws:
org.apache.axis2.AxisFaultorg.wso2.carbon.event.client.stub.generated.authentication.AuthenticationExceptionException
-
BrokerClient
public BrokerClient(org.apache.axis2.context.ConfigurationContext configurationContext, String brokerUrl, String userName, String password) throws org.apache.axis2.AxisFault, org.wso2.carbon.event.client.stub.generated.authentication.AuthenticationExceptionException Deprecated.- Throws:
org.apache.axis2.AxisFaultorg.wso2.carbon.event.client.stub.generated.authentication.AuthenticationExceptionException
-
BrokerClient
public BrokerClient(org.apache.axis2.context.ConfigurationContext configurationContext, String brokerUrl, String cookie) Deprecated. -
BrokerClient
Deprecated. -
BrokerClient
Deprecated.
-
-
Method Details
-
subscribe
Deprecated.- Throws:
BrokerClientException
-
subscribe
public String subscribe(String topic, String eventSinkUrl, long expirationTime, org.apache.axiom.om.OMElement[] extensions) throws BrokerClientException Deprecated.- Throws:
BrokerClientException
-
publish
public void publish(String topic, org.apache.axiom.om.OMElement element) throws org.apache.axis2.AxisFault Deprecated.- Throws:
org.apache.axis2.AxisFault
-
publish
Deprecated.Publishes a message to a topic. The message should be XML structured.- Parameters:
topic- The name of the topic which the message should be published.messageContent- The message content.- Throws:
BrokerClientException
-
unsubscribe
Deprecated.- Throws:
RemoteException
-
getAllSubscriptions
public org.wso2.carbon.event.client.stub.generated.GetSubscriptionsResponse getAllSubscriptions(int maxRequestCount, String resultFilter, int firstIndex) throws RemoteException Deprecated.- Throws:
RemoteException
-
getAllSubscriptions
public org.wso2.carbon.event.client.stub.generated.SubscriptionDetails[] getAllSubscriptions() throws RemoteExceptionDeprecated.- Throws:
RemoteException
-
renewSubscription
Deprecated.- Throws:
RemoteException
-