Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <openejb-jar>
- <pojo-deployment class-name="jaxrs-application">
- <properties>
- # optional but requires to skip scanned providers if set to true
- cxf.jaxrs.skip-provider-scanning = true
- # list of providers we want
- cxf.jaxrs.providers = johnzon,org.apache.openejb.server.cxf.rs.EJBAccessExceptionMapper
- </properties>
- </pojo-deployment>
- </openejb-jar>
- <?xml version="1.0" encoding="UTF-8"?>
- <resources>
- <Service id="johnzon" class-name="org.apache.johnzon.jaxrs.ConfigurableJohnzonProvider">
- # 1M
- maxSize = 1048576
- bufferSize = 1048576
- # ordered attributes
- attributeOrder = $order
- # Additional types to ignore
- ignores = org.apache.cxf.jaxrs.ext.multipart.MultipartBody
- </Service>
- <Service id="order" class-name="com.company.MyAttributeSorter" />
- </resources>
Add Comment
Please, Sign In to add comment