so i am making a messaging app but i cannot get the code done right this is the send Button: and this is part of the code for the ListView: so im trying to get messages to display the right time for messages while in different timezone e.g. if someone is in (UTC+1) but the message is from (UTC+5)and the
Tag: messaging
Ways to implement Google Pub Sub
I found these 3 ways for implementing messaging with Google Pub Sub: with client libraries https://cloud.google.com/pubsub/docs/publisher with spring integration message channels and PubSubTemplate API https://dzone.com/articles/spring-boot-and-gcp-cloud-pubsub without message channels but with PubSubTemplate API https://medium.com/bb-tutorials-and-thoughts/gcp-how-to-subscribe-and-send-pubsub-messages-in-spring-boot-app-b27e2e8863e3 I want to understand the differences between them / when each is best to use and which would be useful for my case. I have to implement
JMS AUTO_ACKNOWLEDGE when is it acknowledged?
I have tried to google this, but have not been successful. If I am using AUTO_ACKNOWLEDGE, and I have a consumer client written in Java, when is the message acknowledged? I am using a MessageListener which contains an onMessage method. Is the acknowledgement sent back to the server before onMessage or after onMessage completes or at some other point? Thanks
When to use Spring Integration vs. Camel?
As a seasoned Spring user I was assuming that Spring Integration would make the most sense in a recent project requiring some (JMS) messaging capabilities (more details). After some days working with Spring Integration it still feels like a lot of configuration overhead given the amount of channels you have to configure to bring some request-response (listening on different JMS