Class SempBasicAuthClientExecutor
java.lang.Object
org.apache.beam.sdk.io.solace.broker.SempBasicAuthClientExecutor
- All Implemented Interfaces:
 Serializable
A class to execute requests to SEMP v2 with Basic Auth authentication.
 
This approach takes advantage of SEMP Sessions. The session is established when a user authenticates with HTTP Basic authentication. When the response is 401 Unauthorized, the client will execute an additional request with Basic Auth header to refresh the token.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionSempBasicAuthClientExecutor(String host, String username, String password, String vpnName, com.google.api.client.http.HttpRequestFactory httpRequestFactory)  - 
Method Summary
Modifier and TypeMethodDescriptionlonggetBacklogBytes(String queueName) booleanisQueueNonExclusive(String queueName)  
- 
Constructor Details
- 
SempBasicAuthClientExecutor
 
 - 
 - 
Method Details
- 
isQueueNonExclusive
- Throws:
 IOException
 - 
getBacklogBytes
- Throws:
 IOException
 
 -