From: Sami Dalouche [mailto:[EMAIL PROTECTED]
Sent: Mon 9/12/2005 4:48 PM
To: Wang, Han BGI SF
Cc: [email protected]
Subject: RE: [servicemix-user] Messages getting lost
Hi,
I don't see any particular error in your servicemix
file.
The error must come from some mistake that's outside servicemix.xml.
Make sure
the queue is existing, that the program that listens to the queue
is registered
as a listener before the event is posted to the queue, etc..
This kind of stuff
that makes you loose many hours....
Good luck,
Sami
Dalouche
Quoting "Wang, Han BGI SF"
<[EMAIL PROTECTED]>:
> Hi
Sami,
> I did specify the destinationService, in
fact, here is the code. But
> I didn't get the messages at destination.
Where could the messages go ??
>
>
Code:
>
<components>
>
> <!--
Subscribe to a JMS destination
-->
> <component
id="inputReceiver" service="my:inputReceiver"
>
class="org.servicemix.components.jms.JmsInUsingJCABinding"
>
destinationService="my:outputSender">
>
<property name="jcaContainer"
ref="jencks"/>
>
<property
name="activationSpec">
>
<bean
class="com.sun.genericra.inbound.ActivationSpec">
>
<property name="destinationProperties"
>
value="BaseQueueName=Q.JEMTEST.IN"/>
>
<property name="destinationType"
value="javax.jms.Queue"/>
>
</bean>
>
</property>
>
</component>
>
>
>
<component id="outputSender" service="my:outputSender"
>
class="org.servicemix.components.jms.JmsSenderComponent">
>
<property
name="template">
>
<bean
> class="org.springframework.jms.core.JmsTemplate">
>
<property name="connectionFactory">
>
<ref local="mqJMSFactory"/>
>
</property>
>
<property name="defaultDestination">
>
<ref bean="outQueue" />
>
</property>
>
<property name="pubSubDomain" value="false"/>
>
</bean>
>
</property>
>
</component>
>
>
</components>
>
> Regards,
>
>
> Han
Wang
> Technology Analyst
> Phone: +1 (415) 908-7960
> Fax: +1
(415) 618-5447
>
> 45 Fremont Street
> Barclays Global
Investors
> San Francisco
> CA, 94105
> United States
>
__________________________________
> BARCLAYS GLOBAL
INVESTORS
>
> -----Original Message-----
> From: Sami Dalouche
[mailto:[EMAIL PROTECTED]]
> Sent:
Monday, September 12, 2005 2:35 PM
> To: [email protected];
Wang, Han BGI SF
> Cc: [EMAIL PROTECTED];
[email protected]
> Subject: Re: [servicemix-user] Messages
getting lost
>
> Hi,
>
> Normalized Messages are routed
according to the destinationService=
> attribute on the component
declaration in the Spring XML file.
>
> You should look at this
attribute to determine where the message goes
> to.
>
Regards,
> Sami dalouche
>
> Quoting "Wang, Han BGI SF"
<[EMAIL PROTECTED]>:
>
> > Hi,
>
> We substituted the ActiveMQ with IBM MQ in
servicemix and were
> > trying out the jms-binding example. It appeared
that the inbound queue
>
> > was receiving all the messages, and
the messages were consumed because
>
> > the queue became empty.
But the outbound queue were empty too! So
> > where could the messages
possible go ? Thanks.
> >
> > Debugging info:
>
>
> > [TRACE] JmsInBinding - -Received:
> > JMS Message
class: jms_text
> >
JMSType: null
>
> JMSDeliveryMode: 2
> >
JMSExpiration: 0
> >
JMSPriority: 4
> >
JMSMessageID:
ID:414d5120514d2e55532e542e303120204311cbfb20c5e601
> >
JMSTimestamp: 1126556014990
> >
JMSCorrelationID:null
> > JMSDestination:
null
> > JMSReplyTo:
null
> > JMSRedelivered: false
>
> JMS_IBM_PutDate:20050912
> >
JMSXAppID:MQSeries Client for Java
> >
JMS_IBM_Format:MQSTR
> > JMS_IBM_PutApplType:28
>
> JMS_IBM_MsgType:8
> >
JMSXUserID:mqm
> > JMS_IBM_PutTime:20133499
>
> JMSXDeliveryCount:1
> > <?xml version=3D"1.0"
encoding=3D"UTF-8"?> <Envelope
> > xmlns=3D"http://global-xml" xmlns:xsi=3D"http://www.w3 Another 2,259
> > character(s)
omitted [INFO] DeliveryChannel - -default destination
> > serviceName
for inputReceiver =3D
> > {http://servicemix.org/demo/}outputSender
>
> [TRACE] JmsInBinding - -Received:
> > JMS Message class:
jms_text
> >
JMSType: null
>
> JMSDeliveryMode: 2
> >
JMSExpiration: 0
> >
JMSPriority: 4
> >
JMSMessageID:
ID:414d5120514d2e55532e542e303120204311cbfb20c5e602
> >
JMSTimestamp: 1126556015000
> >
JMSCorrelationID:null
> > JMSDestination:
null
> > JMSReplyTo:
null
> > JMSRedelivered: false
>
> JMS_IBM_PutDate:20050912
> >
JMSXAppID:MQSeries Client for Java
> >
JMS_IBM_Format:MQSTR
> > JMS_IBM_PutApplType:28
>
> JMS_IBM_MsgType:8
> >
JMSXUserID:mqm
> > JMS_IBM_PutTime:20133500
>
> JMSXDeliveryCount:1
> > <?xml version=3D"1.0"
encoding=3D"UTF-8"?> <Envelope
> > xmlns=3D"http://global-xml" xmlns:xsi=3D"http://www.w3 Another 2,295
> > character(s)
omitted [TRACE] Broker - -routing exchange
> ExchangePacket[:
> >
id=3DID:CALDTD9PC31027-3982-1126555988872-1:0,
> > serviceDest=3D{http://servicemix.org/demo/}output
>
> Sender,endpoint=3DServiceEndpoint[service:
> > {http://servicemix.org/demo/}outputSender;
endpoint: outputSender]]
> TO:
> > ServiceEndpoint[service:
{http:
> > //servicemix.org/demo/}outputSender; endpoint: outputSender]
[INFO]
> > DeliveryChannel - -default destination serviceName for
inputReceiver
> > =3D {http://servicemix.org/demo/}outputSender
>
> [TRACE] Broker - -routing exchange ExchangePacket[:
> >
id=3DID:CALDTD9PC31027-3982-1126555988872-1:1,
> > serviceDest=3D{http://servicemix.org/demo/}output
>
> Sender,endpoint=3DServiceEndpoint[service:
> > {http://servicemix.org/demo/}outputSender;
endpoint: outputSender]]
> TO:
> > ServiceEndpoint[service:
{http:
> > //servicemix.org/demo/}outputSender; endpoint: outputSender]
[DEBUG]
> > JmsTemplate - -Executing callback on JMS session
>
> [EMAIL PROTECTED] from connection
> >
[com.ibm.mq.jms.MQQueueConnectio [EMAIL PROTECTED] [DEBUG] SedaQueue -
> >
-SedaQueue{[container=3DdefaultJBI,name=3DoutputSender,id=3DoutputSend
>
> er
> > ]=
> > }
> > enqueued packet:
ExchangePacket[: id=3DID:CALDTD9PC31027-
> >
3982-1126555988872-1:0,
> > serviceDest=3D{http://servicemix.org/demo/}outputSender,endpoint=3DSer
>
> vi
> > c=
> > eEn
> > dpoint[service: {http://servicemix.org/demo/}out
putSender; endpoint:
> > outputSender]] [DEBUG] JmsTemplate -
-Executing callback on JMS
> > session
[EMAIL PROTECTED] from connection
> >
[com.ibm.mq.jms.MQQueueConnectio [EMAIL PROTECTED] [DEBUG] SedaQueue -
> >
-SedaQueue{[container=3DdefaultJBI,name=3DoutputSender,id=3DoutputSend
>
> er
> > ]=
> > }
> > enqueued packet:
ExchangePacket[: id=3DID:CALDTD9PC31027-
> >
3982-1126555988872-1:1,
> > serviceDest=3D{http://servicemix.org/demo/}outputSender,endpoint=3DSer
>
> vi
> > c=
> > eEn
> > dpoint[service: {http://servicemix.org/demo/}out
putSender; endpoint:
> > outputSender]]
> >
>
>
> > Regards,
> >
> >
> > Han
Wang
> > Technology Analyst
> > Phone: +1 (415)
908-7960
> > Fax: +1 (415) 618-5447
> >
> > 45
Fremont Street
> > Barclays Global Investors
> > San
Francisco
> > CA, 94105
> > United States
> >
__________________________________
> > BARCLAYS GLOBAL
INVESTORS
> >
> >
>
>
>
>
>
----------------------------------------------------------------
> This
message was sent using IMP, the Internet Messaging
Program.
>
>
----------------------------------------------------------------
This
message was sent using IMP, the Internet Messaging
Program.
