Hi as part of a camel route i upload a file to a REST service, the service
will return status 202 and a Content-Location header that points to a json
resource with a status field
i want to wait for the status of this resource to change to completed, and
only then continue. so i need some sort of po
.jsonpath("@.campaignId")
.to("direct:do-stuff")
.otherwise()
.log("Task was not yet completed retrying in 2 seconds")
.delay(2000)
.transform().header(Exchange.HTTP_PATH)
.to("direct:await-import-com
;
> > On Mar 3, 2016, at 11:44 AM, jelmer wrote:
> >
> > Since no one answered I came up with this :
> >
> >from("file:/Users/jkuperus/foo")
> > .process(ToMultiPartRequestProcessor)
> > .setHeader(Exchange.HTTP_METHOD, constant(Ht