Hi Midhun,
If Transaction is IN, and if any other values come in the next one minute, it should be set to A25
If Transaction is OUT, and if any other values come in the next one minute it should be set to B25
--->> The new message comes in next 1 min? If yes, then you can achieve this with BPM. The first message needs to wait on transaction condition and if no message come in one min then delivered with value mapping else use next condition.
If next message value map needs to change then you can update a table with value and time stamp and based on condition the value map for next map is change.
regards,
Harish