After setting the previously described attributes as required, the application starts the JMS session and connection using the beginSession procedure.