very good sample
https://stackoverflow.com/questions/23422072/searchview-in-listview-having-a-custom-adapter
This Blog is first of all memos for me!! From time to time I get exposed to new and cool stuff for developers and architects ,most of the time its a solution for a problem or tips or tricks, so, I would like to track my memos and share it with you, it can save your time and nervous, I hope you will enjoy it - by Yaniv Tzanany.
Search This Blog
Friday, July 31, 2020
Thursday, July 16, 2020
Active MQ - monitor non-deliverable message and failover
check this link for reference
https://activemq.apache.org/message-redelivery-and-dlq-handling
the idea is to monitor none deliverable messages , and log them into Dead Letter Queue (DLQ).
just add this part into activemq.xml
<policyentry queue=">"> <deadletterstrategy> <shareddeadletterstrategy processnonpersistent="true"> </shareddeadletterstrategy></deadletterstrategy> </policyentry>
auto ActiveMQ.DLQ queue will created with the none deliverable messages.
failover queue.
the idea is to have extra activemq server ,(as slave) so if the main active mq is down all the messsages redirect to the "slave"
reference https://activemq.apache.org/failover-transport-reference.html
just use such url e.g.
failover:(tcp://localhost:61616,tcp://remotehost:61616)?initialReconnectDelay=100
to use order queue and not randomize queue , add randomize=false
e.g.
https://activemq.apache.org/message-redelivery-and-dlq-handling
the idea is to monitor none deliverable messages , and log them into Dead Letter Queue (DLQ).
just add this part into activemq.xml
<policyentry queue=">"> <deadletterstrategy> <shareddeadletterstrategy processnonpersistent="true"> </shareddeadletterstrategy></deadletterstrategy> </policyentry>
auto ActiveMQ.DLQ queue will created with the none deliverable messages.
failover queue.
the idea is to have extra activemq server ,(as slave) so if the main active mq is down all the messsages redirect to the "slave"
reference https://activemq.apache.org/failover-transport-reference.html
just use such url e.g.
failover:(tcp://localhost:61616,tcp://remotehost:61616)?initialReconnectDelay=100
to use order queue and not randomize queue , add randomize=false
e.g.
failover:(tcp://primary:61616,tcp://secondary:61616)?randomize=false
enjoy
Yaniv Tzanany
Monday, April 20, 2020
Wednesday, April 15, 2020
Friday, April 10, 2020
Thursday, February 20, 2020
Wednesday, February 12, 2020
iis idle timeout on shared host
How to deal when iis on shared host go down after X minutes when no activity
https://stackoverflow.com/questions/44383014/how-to-prevent-idle-timeout-in-iis-application-pool-on-a-shared-host
https://tyrrrz.me/blog/iis-idle-timeout-workaround
https://stackoverflow.com/questions/44383014/how-to-prevent-idle-timeout-in-iis-application-pool-on-a-shared-host
https://tyrrrz.me/blog/iis-idle-timeout-workaround
Subscribe to:
Posts (Atom)