Difference between enabling the MTOM with @MTOM and @BindingType

Solution Verified - Updated -

Issue

  • MTOM can be enabled using both the annotations, @MTOM and @BindingType.
  • What is the difference between the two of them and why there are two ways for doing this ?
  • Are there any performance reasons associated with the same ?

Environment

  • Redhat JBoss Enterprise Application Platform (EAP)
    • 5.x
    • 6.x
  • JBossWS-CXF
  • JBossWS-Native

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content