axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-4905) CommonsHTTPTransportSender does not allow to use other Formatter than OMOutputFormat.
Date Sat, 04 Dec 2010 09:22:11 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen resolved AXIS2-4905.
------------------------------------

    Resolution: Won't Fix

The right approach to modify the way a message is serialized is to configure an alternate
MessageFormatter.

> CommonsHTTPTransportSender does not allow to use other Formatter than OMOutputFormat.
> -------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4905
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4905
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.1
>         Environment: all - found on a Windows Vista machine with Java 1.6
>            Reporter: Marcin Markiewicz
>
> I have a little compatibility problem with our older software using MIME-messages. A
could solve this problem if I could use my own Output formatter, based on the OMOutputFormat.
(I use it this way to generate messages send by my own MQ-Transport). It would be very usefull
for me if i could tell the CommonsHTTPTransport which OMOutputFormat implementation it should
use. Something like 
> OMOutputFormat = getOutputFormatFromContext(msgContext) 
> instead of
> OMOutputFormat format = new OMOutputFormat();
> (it is the first line in the "invoke" method)
> And only if the context does not contain the Formatter value the "default" one - OMOutputFormat
- should be used.

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message