[ 
https://issues.apache.org/jira/browse/AXIS2-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651990#action_12651990
 ] 

Andreas Veithen commented on AXIS2-4154:
----------------------------------------

I think the best way to implement fallback behavior would be to support 
wildcards, so that one could write:

<messageBuilder contentType="text/*" 
class="org.apache.axis2.format.PlainTextBuilder"/>
<messageBuilder contentType="*/*" 
class="org.apache.axis2.format.BinaryBuilder"/>

Then there is no need for additional configuration properties and the solution 
is also more flexible. In addition, once this is in place for message builders, 
the same approach could be used for message formatters.

See also my comments here: http://markmail.org/message/yqcw2gtejceu4lnk

> make the defualt fall back builder configurable
> -----------------------------------------------
>
>                 Key: AXIS2-4154
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4154
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: kernel
>            Reporter: Thilina Gunarathne
>            Assignee: Thilina Gunarathne
>            Priority: Minor
>
> Currently it's possible only to switch on/off the defaultFallbackBuilder. It 
> defaults to the UnknownContentBuilder. Let's give the users the ability to 
> specify the builder that needs to be used in this case.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to