<div dir="ltr">Hi,<div><br></div><div>I&#39;m noticing that I can&#39;t pull an attachment back off the exchange using AttachmentKey.create(Class), presumably because AttachmentKey (or rather SimpleAttachmentKey) doesn&#39;t override equals to compare based on the wrapped Class object, so it&#39;s using object identity, which obviously doesn&#39;t work.</div>
<div><br></div><div>Is this by design? Do I need to hold onto the key I used to add the attachment in the first place? This seems a bit counter-intuitive, as it means pushing keys around between handlers, when simply implementing equals on the key would avoid that. Am I supposed to provide my own key implementation (i.e basically rewrite SimpleAttachment key - I can&#39;t believe that this is the answer)?</div>
<div><br></div><div>Or am I just missing something obvious?</div><div><br></div><div>Cheers,</div><div>Shannon </div></div>