public String getPrefix(final Exchange exchange) {
        //if regex is set, prefix will not take effect
        if (ObjectHelper.isNotEmpty(getRegex(exchange))) {
            return null;
        }
        return getOption(BlobExchangeHeaders::getPrefixFromHeaders, configuration::getPrefix, exchange);
    }
@Test
    void testIfCorrectOptionsReturnedCorrectlyWithPrefixSet() {
        final BlobConfiguration configuration = new BlobConfiguration();

        // first case: when exchange is set
        final Exchange exchange = new DefaultExchange(context);
        final BlobConfigurationOptionsProxy configurationOptionsProxy = new BlobConfigurationOptionsProxy(configuration);

        configuration.setPrefix("test");
        assertEquals("test", configurationOptionsProxy.getPrefix(exchange));

        //test header override
        exchange.getIn().setHeader(BlobConstants.PREFIX, "test2");
        assertEquals("test2", configurationOptionsProxy.getPrefix(exchange));
    }