You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having defined a Jaxb2Marshaller with some custom properties to be used with Spring AMQP, I'm trying now to re-use it and to use the JAXB Marshaller/Unmarshaller it can generate directly with a javax.ws.rs.ext.ContextResolver<Marshaller>, but those methods are protected so I can't invoke them directly.
As a temporary workaround, I've used reflection.
Please make them public.
The text was updated successfully, but these errors were encountered:
sbrannen
changed the title
Expose Jaxb2Marshaller createMarshaller/createUnmarshaller
Expose Jaxb2Marshaller createMarshaller() and createUnmarshaller() methods
Mar 31, 2019
I'm afraid this isn't a backport candidate since such changes of visibility can break existing code extending Jaxb2Marshaller. For the time being, you could create such an extension yourself: overriding createMarshaller and createUnmarshaller with plain super delegation but public visibility at the subclass level.
Affects: 5.1.5
Having defined a
Jaxb2Marshaller
with some custom properties to be used with Spring AMQP, I'm trying now to re-use it and to use the JAXBMarshaller
/Unmarshaller
it can generate directly with ajavax.ws.rs.ext.ContextResolver<Marshaller>
, but those methods are protected so I can't invoke them directly.As a temporary workaround, I've used reflection.
Please make them public.
The text was updated successfully, but these errors were encountered: