public static void sendToTopic(final String topicName, final String body, final Map<String, Object> headers, final boolean secure) throws InfrastructureException, CryptoException {
        MessageConnector.sendToDestination(false, topicName, body, headers, secure, null, null);
    }
public static void sendToTopic ( final String topicName , final String body , final Map < String , Object > headers , final boolean secure ) throws InfrastructureException , CryptoException { MessageConnector . sendToDestination ( false , topicName , body , headers , secure , null , null ) ; }
@param topicName the name of the topic
@param body      the request body as String
@param headers   the request headers
@param secure    enable secure transport
@throws InfrastructureException on errors
@throws CryptoException         on secure transport errors