Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 662 Bytes

endpoints.md

File metadata and controls

39 lines (25 loc) · 662 Bytes

Default endpoint

.to("direct:myEndpoint)

Dynamic endpoint

.toD("www.someurl.com/${property.colour}")	

.toD("file://" + OUTPUT_PATH + "?FileName=${exchangeProperty.OUTPUT_FILENAME}" + "&FileExist=Append")

.toD(COMPONENT_NAME + "://" + myEndpoint + "?" + camelQueryParams)

.toD("${exchangeProperty.outputEndpoint}", true)					

Fire and Forget

.setExchangePattern(ExchangePattern.InOnly)
.to("direct:myEndpoint")

.to(InOnly, "MyEndpoint")

.inOnly("direct:myEndpoint")

Request and Reply

.setExchangePattern(ExchangePattern.InOut)
.to("direct:myEndpoint")

.to(InOut, "MyEndpoint")

.inOut("direct:myEndpoint")