Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Sending a Secure Asynchronous Request

To send asynchronous requests using SSL, use this function.

## Description

This function is the same as the `sendAsynchronousRequest()` function.

For secure communication, use `sendAsynchronousRequest()` function along with the `setSecureInfo()` catalog function with the addition of the SSL-related parameters shown below:

    Object connectionInfo= HTTP.ConnectionInfo.createHTTPConnectionInfo(true);
    HTTP.ConnectionInfo.setSecureInfo(Object connectionInfo, String sslProtocol, Object clientIdKeyStore, String clientIdPassword, Object trustedCertsKeystore, String trustedCertsPassword, boolean verifyHostName)

For handling timeout case, you can set the java property `com.tibco.be.http.client.socketTimeout` with the required timeout period.

## Parameters

All of the parameters for `sendAsynchronousRequest()` plus the following:

Name | Type | Description
--- | --- | ---
    clientIdKeystore
    Object
| The keystore object for client identity.
    clientIdPassword
    String
| Password for the client ID keystore.
    trustedCertsKeystore
    Object
| Keystore Object for trusted certificates.
    trustedCertsPassword
    String
| Password for the trusted certificates keystore.
    verifyHostName
    Boolean
| Flag for checking if a host name matches the names stored in the server’s certificates.
    httpConnectionInfo
    Object
| HTTP Connection Info object.

## Returns

Type | Description
--- | ---
    String
| A correlation ID

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.