5455565758596061
try { return message.getStringProperty(operationPropertyName); } catch (JMSException e) { throw new JMSBindingException("Exception retreiving operation name from message", e); } }
6970717273747576
try { message.setStringProperty(operationPropertyName, operationName); } catch (JMSException e) { throw new JMSBindingException("Exception setting the operation name on message", e); } }
111112113114115116117118119120
OMElement omElement = builder.getDocumentElement(); return new Object[] {omElement}; } catch (XMLStreamException e) { throw new JMSBindingException(e); } catch (JMSException e) { throw new JMSBindingException(e); } }
123124125126127128129130
try { return ((ObjectMessage)msg).getObject(); } catch (JMSException e) { throw new JMSBindingException(e); } }
141142143144145146147148
} return message; } catch (JMSException e) { throw new JMSBindingException(e); } }
153154155156157158159160
ObjectMessage message = session.createObjectMessage(); // default message.setObject((Serializable)o); return message; } catch (JMSException e) { throw new JMSBindingException(e); } }
105106107108109110111112113114
} if (operation != null) { return service.getRuntimeWire(jmsBinding).invoke(operation, (Object[])requestPayload); } else { throw new JMSBindingException("Can't find operation " + (operationName != null ? operationName : ON_MESSAGE_METHOD_NAME)); } }
140141142143144145146147148149
producer.close(); session.close(); } catch (JMSException e) { throw new JMSBindingException(e); } catch (NamingException e) { throw new JMSBindingException(e); } }
147148149150151152153
throw new JMSBindingException(e); } } protected void sendFaultReply(Message requestJMSMsg, Exception e) { sendReply(requestJMSMsg, new JMSBindingException("exception invoking JMS service", e)); }
5657585960616263