[ 
https://issues.apache.org/jira/browse/CAMEL-3468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977681#action_12977681
 ] 

Christian Müller commented on CAMEL-3468:
-----------------------------------------

Claus I think my code works fine. It removes one element for each iteration 
(not every 2nd). The Java doc says:

{code}
    /**
     * 
     * Removes from the underlying collection the last element returned by the
     * iterator (optional operation).  This method can be called only once per
     * call to <tt>next</tt>.  The behavior of an iterator is unspecified if
     * the underlying collection is modified while the iteration is in
     * progress in any way other than by calling this method.
     *
     * @exception UnsupportedOperationException if the <tt>remove</tt>
     *            operation is not supported by this Iterator.
     
     * @exception IllegalStateException if the <tt>next</tt> method has not
     *            yet been called, or the <tt>remove</tt> method has already
     *            been called after the last call to the <tt>next</tt>
     *            method.
     */
    void remove();
{code}

> New camel-aws component
> -----------------------
>
>                 Key: CAMEL-3468
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3468
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Christian Müller
>             Fix For: 2.6.0
>
>         Attachments: CAMEL-3468.patch, patchfile.txt
>
>
> I've started a new component to interface with Amazon Web Services. This 
> first pass includes just a Simple Queue Service component. Additional 
> services will be added soon. I used the Amazon AWS SDK for Java to interface 
> with AWS. Uses Apache 2.0 as it's license.
> Let me know if I need to change things or any thoughts/suggestions and I'll 
> be glad to make the adjustments.

-- 
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