<div dir="ltr">totally +1 ! </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 3, 2013 at 2:14 PM, Daniel Bevenius <span dir="ltr">&lt;<a href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sounds good to me! +1</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">
On 3 July 2013 14:06, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>Right now, the &quot;selective send&quot; has (besides &quot;query&quot; components), one &quot;message&quot; object, that contains the entire payload (see [1]).</div>

<div>
<br></div><div>That message/payload object does include the metadata for the SimplePush clients:</div><div><br></div><pre style="font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monospace;font-size:13px;margin-top:15px;margin-bottom:15px;background-color:rgb(248,248,248);border:1px solid rgb(221,221,221);line-height:19px;overflow:auto;padding:6px 10px;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">
<code style="font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monospace;font-size:12px;margin:0px;padding:0px;border:none;background-color:transparent;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px">&quot;message&quot;: {
   &quot;key&quot;:&quot;value&quot;,
   &quot;key2&quot;:&quot;other value&quot;,
   &quot;alert&quot;:&quot;HELLO!&quot;,
    &quot;simple-push&quot;:
      { &quot;SomeCategory&quot;:&quot;version=123&quot;, &quot;anotherCategory&quot;:&quot;version=456&quot;} 
}</code></pre><div><br></div><div>I&#39;d like to move the &quot;simple-push&quot; one level up, like:</div><div><pre style="font-size:13px;font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monospace;margin-top:15px;margin-bottom:15px;background-color:rgb(248,248,248);border:1px solid rgb(221,221,221);line-height:19px;overflow:auto;padding:6px 10px;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">
<code style="font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monospace;font-size:12px;margin:0px;padding:0px;border:none;background-color:transparent;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px"><br>


&quot;message&quot;: {
   &quot;key&quot;:&quot;value&quot;,
   &quot;key2&quot;:&quot;other value&quot;,
   &quot;alert&quot;:&quot;HELLO!&quot;},
&quot;simple-push&quot;:{
   &quot;SomeCategory&quot;:&quot;version=123&quot;,
   ........}
}</code></pre><div><br></div></div><div><br></div><div>That way the &quot;simple-push&quot; data is not &quot;pushed&quot; to Android/iOS (that does not make sense anyways :-))   It also makes writing &quot;pure&quot; simple-push messages easier and also eases up processing on the server.<br>


</div><div><br></div><div>-Matthias</div><div><br></div><div><br></div><div>[1] <a href="https://github.com/aerogear/aerogear.org/blob/master/docs/specs/aerogear-push-messages/index.markdown#selective-send" target="_blank">https://github.com/aerogear/aerogear.org/blob/master/docs/specs/aerogear-push-messages/index.markdown#selective-send</a></div>

<span><font color="#888888">
<div><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>


twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></font></span></div>
<br></div></div>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>