You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Stub Component

The stub: component provides a simple way to stub out any physical endpoints for easy testing. Just add stub: in front of any endpoint URI and things just work.

Under the covers the Stub component creates VM endpoints.

So if you are in development and want to try a route out but don't want to connect to a specific Smtp or Http endpoint, just put stub: in front and stub it out! (smile)

URI format

stub:someUri

Where someUri can be any URI at all with any query

  • No labels