@Override
    public String resolveStaticUri(Exchange exchange, DynamicAwareEntry entry) {
        String optimizedUri = null;
        String uri = entry.getUri();
        if (DynamicRouterControlConstants.SHOULD_OPTIMIZE.test(uri)) {
            optimizedUri = URISupport.stripQuery(uri);
        }
        return optimizedUri;
    }
@Test
    void resolveStaticUri() throws Exception {
        String originalUri = "dynamic-router-control:subscribe?subscriptionId=testSub1";
        String uri = "dynamic-router-control://subscribe?subscriptionId=testSub1";
        try (DynamicRouterControlChannelSendDynamicAware testSubject = new DynamicRouterControlChannelSendDynamicAware()) {
            SendDynamicAware.DynamicAwareEntry entry = testSubject.prepare(exchange, uri, originalUri);
            String result = testSubject.resolveStaticUri(exchange, entry);
            assertEquals("dynamic-router-control://subscribe", result);
        }
    }