I have created 2 applications in which one sends java objects (jaxb converts java to xml) and another receives (jaxb converts xml to java) it. It is using jms binding and JBOSSAMQ servers. Requirement is have to encrypt the message in AMQ service while sending and receiving it.
1. how can i do encryption for message?
2. Where it can be done? at amq level or at switchyard level.
3. Which will be less time consuming.