![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
See HTTP Channel Advanced Configuration Settings for details about setting up TIBCO BusinessEvents as a secure server.
Object getPostData(SimpleEvent event)
As explained in Task A, Add an HTTP Connection, ensure that certificates from trusted certificate authorities are stored in the project, using an Identity resource in the TIBCO Shared Resources folder. Alternatively use the BE_GLOBAL_TRUSTED_CA_STORE global variable to store a location of the certificates outside of the project.Object loadTrustedCertificates(String trustedCertsFolder, String passwordToSet)
If the value is -1, the server waits forever.
String sendAsynchronousRequest(String url, SimpleEvent requestEvent, String correlationId, String successCallbackRuleFunctionURL, String errorCallbackRuleFunctionURL, String methodType)Sends a request to the server specified by the url parameter. When TIBCO BusinessEvents receives a response, the callback function is called.
String sendSecureAsynchronousRequest(String url, SimpleEvent requestEvent, String correlationID, String callbackRuleFunctionURL, String methodType, Object clientIdKeystore, String clientIdPassword, Object trustedCertsKeystore, String trustedCertsPassword boolean verifyHostName)This function is the same as the sendAsynchronousRequest() function, with the addition of the SSL-related parameters, shown below.All of the parameters for sendAsynchronousRequest() plus the following:
Event sendSecureRequest(String url, SimpleEvent requestEvent, String responseEventURI, Object clientIdKeystore, String clientIdPassword, Object trustedCertsKeystore, String trustedCertsPassword, boolean verifyHostName,long timeoutMillis)This function is the same as the sendSecureAsynchronousRequest() function, except that the requests are synchronous. The parameters are shown below.
If the value is -1, the server waits forever.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |