I have a Spring Integration DSL Flow and I’m trying to access the HTTP request path. Possible paths look something like this
/import: imports everything
/import/case1: imports only part A
/import/case2: imports only part B
/import/case2/{filename}: imports only a single file from part B
My flow looks something like this
return IntegrationFlow
.from(Http.inboundChannelAdapter(IMPORT_BASE_PATH + "/**")
.requestMapping(mapping -> mapping.methods(POST)))