JBIOutWrapperInterceptor fails to find objects sequentially 
------------------------------------------------------------

                 Key: CXF-1444
                 URL: https://issues.apache.org/jira/browse/CXF-1444
             Project: CXF
          Issue Type: Bug
          Components: Integration
    Affects Versions: 2.0.2
            Reporter: Edell Nolan


I have been trying to write a use case using java first and I have deployed my 
service provider into servicemix and run my consumer externally. 

>From debugging the code it seems that the HolderOutInterceptor inserts the 
>objects into an ArrayList based on the part index - which means it doesn't 
>necessarily put the items in sequential order into the array. 

and it reads them back based on the part index also. 

As I am trying to integrate with servicemix it will use the 
JBIWrapperOutInterceptor.java which then attempts to get the objects from the 
List class in sequential order and it will fail to find any parts after the 
first element as it may not necessarily have put them in order.

Is there a reason why cxf adds the objects in based on the part index ?

I have attached a patch with the file updated and my use case now works. 

thanks, Edell.


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

Reply via email to