Senaka
1. What's the purpose of org.apache.axis2.transport.base.MetricsCollector's
metrics.incrementBytesSent() in the JMS Transport?
To count the number of bytes sent over JMS and report the value via JMX
Is this an essential thing?
Technically No, but I would now call this an Yes - as the JMX support we have now exposes this
2. As far as I understand, when a JMS BytesMessage or a JMS TextMessage
arrives, the incoming payload's binary representation is extracted and then
converted into an Axiom representation within the JMS layer. Did I get thises e
right?
Yes
3. What does jmsPayloadType == null in JMSSender.java:395 mean?
If the SOAP Body contains a binary or text wrapper element, we would use a JMS Binary or Text message and paste the wrapped content there. If this is anything else, we would look for user preference (JMSConstants.JMS_MESSAGE_TYPE) property, to or default to using a Text message

asankha

Reply via email to