Sure:

https://issues.apache.org/activemq/browse/SMX4-151

Regards,
Ivan


Freeman Fang wrote:
> 
> Hi Ivan,
> 
> It would be great if you can create a jira and append your patch there.
> Thanks
> Freeman
> 
> Ivan Stojic wrote:
>> Hi,
>>
>> I tried using JAX-RS services on SMX4 based on this article:
>>
>> http://rjrojas.blogspot.com/2008/09/restful-web-services-using-iona-fuse.html
>>
>> It works, but it seems that CXF is ignoring HTTP request's Accept header
>> (I'm using it to choose between XML and JSON representations). It seems
>> that
>> OsgiServlet in the cxf-transport-osgi module isn't forwarding the header.
>> I
>> tried adding this to the invokeDestination method:
>>
>> inMessage.put(Message.ACCEPT_CONTENT_TYPE, request.getHeader("Accept"));
>>
>> and that fixed the problem.
>>
>>
>> Regards,
>> Ivan
>>
>>
>>
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/SMX4-and-CXF-JAX-RS-RESTful-services-tp20384222p20397880.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to