Sudarshan
Sudarshan

Reputation: 8664

Wiretap router versus Async scope

Based on my understanding of the Wire Tap router (scroll to bottom of the link) and the Async scope, I think there is significant overlap in the functionality that they both provide.

Similarities

I am looking for some guidelines to understand when to use which feature.

Also even though the wire-tap router is documented it is not available in Mule studio Version 5.1.0 is it deprecated ?

Mule Studio

Upvotes: 2

Views: 900

Answers (2)

You should always use async, wire-tap is legacy and inherited from older versions of mule. The implications are at the threading level, specially the difference is from which internal thread pool they take the thread from.

Please bear in mind that its use should be very simple, otherwise it may end up being a bottleneck in higher loads.

Upvotes: 1

Mohan
Mohan

Reputation: 520

wiretap:

1.there is no specific component available in anypoint studio but its xml based declaration.
2.only one message processor can be defined in wiretap router.

Async Scope:

1.a specific component available in any-point studio.
2.is support the definition of more than one message processor.

As per documentation the working nature of both components works as defined.

Upvotes: 0

Related Questions