[Users] JMS --> SOAP (response is lost)

veraniego franki.verano at gmail.com
Wed Mar 16 10:40:36 CET 2011


Hi!

I'm trying to make the next scenary with Petals and ActiveMQ:

Java Client --> ActiveMQ --> JMS BC Consumer --> SOAP BC provider --> external web service

With TCPMon I can see that the web service receive the message and reply correctly but the message is lost on the way back to the JMS endpoint...
where "responseMessageConsumer.receive();" waits forever.... [Wink] 

I have set the DEBUG level and I can see this:


Code:
[Petals.Container.Components.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 onMes
sage
[Petals.Container.Components.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 A JMS
 message is received from 'tcp://localhost:61616'.
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 -CALL-
MessageExchangeFactoryImpl.createExchange() http://www.w3.org/2004/08/wsdl/in-on
ly
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 -CALL-
MessageExchangeFactoryImpl.createExchange()
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 -CALL-
MessageExchangeFactoryImpl.setDefaultMessageExchangeProperties()
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 -CALL-
MessageExchangeFactoryImpl.createExchangeDecorator() http://www.w3.org/2004/08/w
sdl/in-only
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 -START
-ComponentContextImpl.getEndpoint()
[Petals.JBI-Messaging.EndpointRegistryImpl]-FINEST 2010-03-09 13:20:26,765 BaseE
ndpointRegistry.getEndpoint() Entering method : getEndpoint with params service,
 name = {http://contador.simplews}ContadorService, Contador
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 -END-C
omponentContextImpl.getEndpoint()
[Petals.Container.Components.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 It's
a TextMessage.
[Petals.Container.Components.petals-bc-jms]-FINE 2010-03-09 13:20:26,765 transfo
rm
[Petals.Container.Components.petals-bc-jms]-FINE 2010-03-09 13:20:26,765 Send an
 asynchronous exchange with id : petals:uid:4108DDFC3ECBB0E73240874544546863
[Petals.Container.Components.petals-bc-jms]-FINE 2010-03-09 13:20:26,765 Interce
pting message processing on SEND
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 -CALL-
DeliveryChannelImpl.send() Exchange Id:petals:uid:4108DDFC3ECBB0E732408745445468
63
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 -START
-ComponentContextImpl.getLogger()
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 -START
-ComponentContextImpl.getComponentLogger()
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 -END-C
omponentContextImpl.getComponentLogger()
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 -END-C
omponentContextImpl.getLogger()
[Petals.Container.Components.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 Messa
ge in with Id 'petals:uid:4108DDFC3ECBB0E73240874544546863' to send
[Petals.Container.Components.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 Messa
ge Content : <?xml version="1.0" encoding="windows-1252"?><cadena xmlns="http://
contador.simplews">hola</cadena>
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,765 -CALL-
ComponentContextImpl.getTransactionManager()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,765 -CALL-Ro
uterServiceImpl.send()
[Petals.JBI-Messaging.TransportResolverModule]-FINEST 2010-03-09 13:20:26,781 -C
ALL-TransportResolverModule.electEndpoints()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 -START-R
outerServiceImpl.sendToProvider()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 RouterSe
rviceImpl.sendToProvider() Send attempt to endpoint 'Contador'
[Petals.Transporter.LocalTransporter]-FINEST 2010-03-09 13:20:26,781 -START-Loca
lTransporterImpl.send()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 -START-R
outerServiceImpl.onExchange()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 -END-Rou
terServiceImpl.onExchange()
[Petals.Transporter.LocalTransporter]-FINEST 2010-03-09 13:20:26,781 -END-LocalT
ransporterImpl.send()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 -END-Rou
terServiceImpl.sendToProvider()
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,781 -END-D
eliveryChannelImpl.sendExchange()
[Petals.Container.Components.petals-bc-jms]-FINEST 2010-03-09 13:20:26,781 The m
essage has been sent.
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 -END-Rou
terServiceImpl.receive() Exchange Id : petals:uid:4108DDFC3ECBB0E732408745445468
63 - Component : petals-bc-soap
[Petals.Container.Installer.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 -CALL
-MessageExchangeFactoryImpl.createExchangeDecorator() http://www.w3.org/2004/08/
wsdl/in-only
[Petals.Container.Installer.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 -CALL
-ComponentContextImpl.getTransactionManager()
[Petals.Container.Installer.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 -END-
DeliveryChannelImpl.poll()
[Petals.Container.Components.petals-bc-soap]-FINE 2010-03-09 13:20:26,781 Accept
ing a JBI message with Id : petals:uid:4108DDFC3ECBB0E73240874544546863
[Petals.Container.Components.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 Proc
ess an exchange as PROVIDER with id : petals:uid:4108DDFC3ECBB0E7324087454454686
3
[Petals.Container.Components.petals-bc-soap]-FINE 2010-03-09 13:20:26,781 Interc
epting message processing on ACCEPT
[Petals.Container.Components.petals-bc-soap]-FINE 2010-03-09 13:20:26,781 JBI me
ssage received on SOAP JBI listener
[Petals.Container.Components.petals-bc-soap]-FINE 2010-03-09 13:20:26,781 Callin
g external Web Service : http://localhost:8082/ContadorWS/services/Contador
[Petals.Container.Installer.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 -CALL
-DeliveryChannelImpl.accept()
[Petals.Container.Components.petals-bc-soap]-FINE 2010-03-09 13:20:26,781 jbiOpe
ration of the received exchange: {http://contador.simplews}getStringLength
[Petals.Container.Components.petals-bc-soap]-FINE 2010-03-09 13:20:26,781 soapAc
tion of the received exchange:
[Petals.Container.Components.petals-bc-soap]-FINE 2010-03-09 13:20:26,781 OUTGOI
NG Payload : <cadena xmlns="http://contador.simplews">hola</cadena>
[Petals.Container.Components.petals-bc-soap]-FINE 2010-03-09 13:20:26,781 Interc
epting message processing on ACCEPT_RESPONSE
[Petals.Container.Installer.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 -CALL
-DeliveryChannelImpl.send() Exchange Id:petals:uid:4108DDFC3ECBB0E73240874544546
863
[Petals.Container.Installer.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 -STAR
T-ComponentContextImpl.getLogger()
[Petals.Container.Installer.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 -STAR
T-ComponentContextImpl.getComponentLogger()
[Petals.Container.Installer.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 -END-
ComponentContextImpl.getComponentLogger()
[Petals.Container.Installer.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 -END-
ComponentContextImpl.getLogger()
[Petals.Container.Installer.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 -STAR
T-DeliveryChannelImpl.poll()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 -START-R
outerServiceImpl.receive() Component : petals-bc-soap - Timeout : -1
[Petals.Container.Components.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 Mess
age acknowledgement DONE with Id 'petals:uid:4108DDFC3ECBB0E73240874544546863' t
o send
[Petals.Container.Installer.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 -CALL
-ComponentContextImpl.getTransactionManager()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 -CALL-Ro
uterServiceImpl.send()
[Petals.JBI-Messaging.TransportResolverModule]-FINEST 2010-03-09 13:20:26,781 -C
ALL-TransportResolverModule.electEndpoints()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 -START-R
outerServiceImpl.sendToConsumer()
[Petals.Transporter.LocalTransporter]-FINEST 2010-03-09 13:20:26,781 -START-Loca
lTransporterImpl.send()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 -START-R
outerServiceImpl.onExchange()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 -END-Rou
terServiceImpl.receive() Exchange Id : petals:uid:4108DDFC3ECBB0E732408745445468
63 - Component : petals-bc-jms
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,781 -CALL-
MessageExchangeFactoryImpl.createExchangeDecorator() http://www.w3.org/2004/08/w
sdl/in-only
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,781 -CALL-
ComponentContextImpl.getTransactionManager()
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,781 -END-D
eliveryChannelImpl.poll()
[Petals.Container.Components.petals-bc-jms]-FINE 2010-03-09 13:20:26,781 Accepti
ng a JBI message with Id : petals:uid:4108DDFC3ECBB0E73240874544546863
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,781 -CALL-
DeliveryChannelImpl.accept()
[Petals.Container.Installer.petals-bc-jms]-FINEST 2010-03-09 13:20:26,781 -START
-DeliveryChannelImpl.poll()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 -END-Rou
terServiceImpl.onExchange()
[Petals.Transporter.LocalTransporter]-FINEST 2010-03-09 13:20:26,781 -END-LocalT
ransporterImpl.send()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 -END-Rou
terServiceImpl.sendToConsumer()
[Petals.Container.Installer.petals-bc-soap]-FINEST 2010-03-09 13:20:26,781 -END-
DeliveryChannelImpl.sendExchange()
[Petals.JBI-Messaging.RouterServiceImpl]-FINEST 2010-03-09 13:20:26,781 -START-R
outerServiceImpl.receive() Component : petals-bc-jms - Timeout : -1



Has anybody seen something like that???

Thank you!!




-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications.

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=30543#30543

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/cbc3140e/attachment.htm>


More information about the Users mailing list