Thursday, 13 November 2014

WebMethods -2: Messaging & Triggers Explained

There are two types of message styles popular in Software AG

·   Point to Point: In this style of messaging, message is sent between message provider and consumer. Both provider and consumer are known. The destination is represented as queue. Exactly one consumer will receive a single message. If there are no consumers available at the time the message is sent it will be kept until a consumer is available that can process the message. If a consumer receives a message and does not acknowledge it before closing then the message will be redelivered to another consumer. The producer and consumer are knows as senders and receivers.




· Publish-Subscribe: This messaging style enable message producer to publish message, which is subscribed by various interested consumers. When you publish a message it goes to all the subscribers who are interested - so zero to many subscribers will receive a copy of the message. Only subscribers who had an active subscription at the time the broker receives the message will get a copy of the message.





Note: The publishers and subscribers never communicate with each other directly. Instead, they communicate by exchanging messages through a message Broker

Triggers play vital role in messaging aspect of Webmethods. It is required to subscribe the message/document.


Properties of Triggers







 Processing Mode is of two type

Serial: Subscribe one document at a time. It is single thread operated.
Concurrent:  Subscribe multiple documents in parallel. It is multiple thread operated.

 ------------------------------

Transient error handling parameter is important in case of error handling. Max retry attempts indicate how many times a request can be retried in case of failure.

Exactly once helps identifying duplicate, new, in doubt aspect of request.


Trigger setting for below is done in order to connect and routes.





Note:- The above notes has been prepared based on my experience on the technology as well as various reference available on internet. 


Thank You!
Satender Kumar Mall


Twitter: satenderiiit

Sunday, 2 November 2014

WebMethods -1: Audit Explained

The Integration server (IS) has a feature, which helps to tracks the execution of services invoked in journey from starts to end in web-services call.

It is set at 2 level.


1.      IS level

It has 3 level

·         PerSvc: It indicated that Auditing is enabled and logging will be based on audit properties set in individual flows of the service.

·         Brief: - It indicated logging is always enabled. It is logged on error, success and start of the flows. It ignores the audit properties set on individual flows.

·         Verbose: It facilitates the complete functionality indicated brief. In addition it also includes pipeline for each flows logged.

2.      In individual flow of a service.




The Audit properties of flow have 3 parameter: -


·         Enable auditing
Never: Audit is turned off for current flow.
When top-level service only: If the flow is the entry point of a service invoke
Always: Audit is turned ON for current flow

·         Log on
Error only: flow is logged when only error/exception occurred/
Error and success: flow is logged in both success scenario & also during error/exception.
Error, Success and start: flow is logged in all scenarios.

·         Include pipeline
Never: Do include data structure when flow is logged.
On error only: Included data in flow only in case of error.
Always: Data in flow should be logged always when flow is logged.


Keys takeaways: -


·         Flows are logged in database, which is displayed on MyWebmethods server.
·         Flow logged with pipeline can be retrieved and used for debug of same flow or proceeding       flows.
·         Log wisely - Too much audit logging cost performance and no logging you end up blind in       case of error in production.
·         Audit logging gives indication of flows invokes when call is made to service.
·         There is more than 8 type of logging mechanism in Webmethods. All by default are                    logged to files. We need to configure in order to point the heavy logging to Database else        IS  will crash. See below



Note:- The above notes has been prepared based on my experience on the technology as well as various reference available on internet. 


Thank You!
Satender Kumar Mall

Twitter: satenderiiit

Tuesday, 21 October 2014

Growth: Things to avoid at initial stage

Growth is an aspirational phenomenon which pull one from the crowd and makes it shine. The aspiration for growth alone is not enough to shine. An ingredient which leads to growth could be anything such direction, creativity, delegation, collaboration along with right kind of coordination and monitoring. To grow on constant rate our attitude should be of pragmatic in nature to sustain durability. 


Following are few jargons which can leads to the point we are trying to understand or about things we can avoid at initial stage to add much needed oxygen needed to push growth are:-

ü  Think about how you want to be remembered when you are gone
ü  Our job is not to prove people wrong but to prove yourself right
ü  There is neither shortcut nor a substitute for hard-work, learning and experience.
ü  Stop, smell the flowers, play with your kids, take a day off. But when you’re at work, make every second count.
ü  Focus on the positive and see the negatives as opportunities to be a better person


Growth is doubled when we are doing things which match our passion. It is very important that we enjoy what we are doing. This not only makes perfect start but also leads to creativity. Self-doubt is inevitable at some point in our life, the only way we can get through that is to keep grinding it out.

This blog sounds bit on the line of spirituality but someone has to put them on paper for those who needs such write up to boost self-confidence. 

Thank You!
Satender Kumar Mall
Twitter: satenderiiit



Sunday, 12 October 2014

31% Syndrome

The topic of this blog is mainly addressed to Indians or someone who is interested in India’s politics for some reason or the other. After reading this blog you will be able to figure there are still few classified Indians who have not been able to come to terms with reality that Mr Narendra Modi is Prime Minister of India. This topic name is not coined by me but few biased journalists who started using it right from 16th may 2014 when their all self-proclaimed status and theories comes down tumbling. All their decade long paid news and propaganda was literally demolished by general public.

To understand why few champions of secular propaganda (which they had been using for their own benefits as victim-hood) suddenly started talking about 31% syndrome.

Few points to make your mind tickle in same direction where I am trying to concentrate toward:-
* Have you heard in past from news traders how much vote percentage did Mr Deva Gowda/Indra Kumar Gujral had got to become PM?
*   Let’s comes to 2004/2009 election, how much vote percentage did Congress got to form UPA and rule India for a decade?



Let’s ask few questions to those propaganda groups as well:-

Ø    Why this Vote percentage query when Indian constitution clearly states for majority party need 272 not certain amount of vote percentage?
Ø    Where is tolerance factor, when someone (social media) questions MSM credibility about news you manufacture?

When we start pondering about above queries, we will be able to visualize that there are handful of news traders who are spoiling the fourth pillar our democracy. The citizen at social media has clearly played important role in exposing news traders as well as devoted huge amount of time & energy in educating young aspirant youth about difference between NEWS and bogus opinion presented as NEWS.

Our PM has successfully broken the media & politician power broking nexus in New Delhi which has forced fourth pillar to get strengthen and go back to honest reporting. That’s why this 31% syndrome kolavari. No other PM in past had ever tried to overhaul this system which was rotting on each passing day.

If you are interested you can also refer below link and get smart enough to identify NEWS which matters.

Why few in Indian media too hostile:-


Thank You!
Satender Kumar Mall
Twitter: satenderiiit

Friday, 26 September 2014

Happy Navratri to you!

Dear Reader,

Wish you all a happy Durga Puja!!


To know more about Navratri , read my earlier blog Jai Maa Durga



Sharing a wonderful picture of shadow arts found at internet. It also conveys a message


 "If you assemble things with good intentions... Mata will always be right behind you".









Regards
Satender

Twitter: satenderiiit

Sunday, 3 August 2014

Hello

Hello” is a common greeting widely prevalent across the world. In one of my blog I had compiled about How “I Love you” is expressed in various language. In this blog, I have compiled about how Hello is greeted in various language that too from various source.

The following list is of language and how hello is greeted in that language. In case you find language not in list and you know, please put it in comment section. I will incorporate as update to push the list toward completion.

Language                   Greeting
 Hindi                          Namaste 
Albanian                      Mirëdita
Arabic                         Ahalan
Armenian                    Parev
Bulgarian                     Zdravei / Zdrasti
Danish                         Goddag
Dutch                          Goede dag, Hallo
English                        Hello
Finnish                        Hei
French                         Bonjour
German                       Guten Tag
Greek                          Gia'sou
Hebrew                       Shalom
Hungarian                   Jó napot
Icelandic                     Halló / Góðan daginn
Indonesian                  Halo
Irish                             Dia dhuit
Italian                          Salve / Ciao
Japanese                      Kon-nichiwa
Korean                                    An-nyong Ha-se-yo
Norwegian                  Hallo
Polish                          Dzien' dobry
Portuguese                  Olá
Romanian                    Bunã ziua
Russian                        Zdravstvuyte
Spanish                        Hola
Swahili                        Jambo / Hujambo
Swedish                      Hej
Thai                             Sa-wat-dee
Turkish                        Merhaba / Selam
Ukrainian                    Vitayu
Vietnamese                 Xin chào
Welsh                          Hylo; Sut Mae?
Yiddish                       Sholem Aleychem
Zulu                             Sawubona
Chinese                       Nei Ho/Ni hao

 “We almost always only greet strangers when we need something from them (time, directions, etc.).”      ― Mokokoma Mokhonoana


Thank You!
Satender Kumar Mall


Twitter: satenderiiit

Wednesday, 2 July 2014

Gyaan

Gyaan” is a Hindi word which means knowledge. This is very powerful and scared word. In olden days or for that matter till late 90’s as well, people used to seek Gyaan from the experienced people around them in respective field of their mastery. This still remains as vital tool of preaching as well as passing basics from one generation to another. I am sure Gyaan relevance will never fade due to constant increase of knowledge thirst among people day by day. The best contribution of Gyaan, you already know so I do not want to bore you by putting emphasis on that area.

This blog is more of discovering the funny & shallow aspect of this word in context to changing as well as challenging times. The current generation is putting lot of effort day-in day-out to look “cool”. Majority of us want to learn less and preach more. We listen to reply rather than listen to understand. This has more or less made the word “Gyaan” to be used for sarcasm as well. Very famous Hindi tagline in college these days are “Yaar - Gyaan mat de, chalna/karna to bol” [Friend- No imparting knowledge, tell if willing to come/work].


Let’s have some fun by reminding ourselves few common life situations where you are bound to get Gyaan -Irrespective of your requirement to seek or to make use of any of them.


Situation: - Exam hall: Seeking answer to get pass mark from topper student.
Gyaan: Instead of giving answer at first available opportunity, what one get is Gyaan about how time was spent without learning throughout year etc. and in remote second opportunity topper remind the book & page number where the answer lies instead of hinting the answer in both chances.

Situation:-One asking money to fund his current needs.
Gyaan: He gets reply: “Man why don’t you do something to earn money”. How long you will keep asking for it. Then they ask full reason about one’s need of money, End result: person instead of giving money, gives suitable excuse that oh you are late! I just used my reserve money to fund something critical but if you had asked little earlier I would have helped you for sure.

Situation: - Mr A. had landed INR 5000.00 to Mr B. on his need out of concern & kind heart with promise that Mr B. will return in 15 days.
Gyaan: Mr A. gets back his money in 15 months after additionally spending INR 1000.00 in phone call, meeting etc. to recover. I will not mention Gyaan as you are intelligent enough to figure out based on your personal experience.

There is old saying:-
In Hindi
दुनिया, की सबसे सस्ती चीज़ है ,"सलाह" एक से मांगो हजारों ,से मिलती हैं और सबसे,महंगा है "सहयोग" हजारों से मांगो एक से मिलता हे..!!
[Translation: World's cheapest thing to get is "advice" Ask from one, you get from thousands and the most expensive thing to get is  "collaboration" demand from thousands, you get from one!!]

 Few Funny picture [collected from internet] which might bring smile at your face:-




Thank You!
Satender Kumar Mall

Twitter: satenderiiit