get only first message

@sachiek said:
@amackenzie @Aaron - Had used custom Java class to achieve this. Thank you.

Yes, only first message.