You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by kitplummer <ki...@gmail.com> on 2007/05/02 02:31:45 UTC

Re: Using JMS endpoint with JCA and XA and with Target Service (target service not getting message)

Sorry...have not looked, and I'm assuming you've resolved the issue.  But, am
curious if it was that the targetService had not activated its endpoint or
something of the sort.

Kit


Annette wrote:
> 
> It is in the servicemixconf.zip file attached to first message.
> 
> Kit Plummer wrote:
>> 
>> Can you post the servicemix.xml that you're using?
>> 
>> Kit
>> On Apr 27, 2007, at 8:09 AM, Annette wrote:
>> 
>>>
>>> Here is another zip file including all SU configurations and component
>>> source.Thanks for any help.
>>>
>>> Annette wrote:
>>>>
>>>> I am trying to use a JMS endpoint with JCA and XA. The JMS  
>>>> endpoint is a
>>>> consumer and has a target service specified. I can tell from  
>>>> JConsole that
>>>> the message is being received on the JMS endpoint. I stepped  
>>>> through the
>>>> code ( put all the servicemix code and activemq code in eclipse)  
>>>> and it
>>>> looks like it is doing the right thing. In debug, I could the target
>>>> service was used as the endpoint to send the message (as you know  
>>>> it is a
>>>> bit more complicated than that). But my target service never gets the
>>>> message via the OnMessageExchange method. (And I could tell from  
>>>> JConsole
>>>> that the message was not received on target service jca queue). I  
>>>> have
>>>> attached all my files. I first was using the servicemix-jms jbi  
>>>> component
>>>> in its own SU. However, I rewrote it trying to follow the example  
>>>> on the
>>>> servicemix website and made the XA JMS endpoint a lightweight  
>>>> component,
>>>> part of a different SU where I am using the servicemix-lwcontainer
>>>> component. But, there is no difference in the execution as I can  
>>>> tell. Any
>>>> help would be appreciated.
>>>> http://www.nabble.com/file/8110/servicemixconf.zip servicemixconf.zip
>>>>
>>> http://www.nabble.com/file/8112/enterprisemessaging.zip
>>> enterprisemessaging.zip
>>> -- 
>>> View this message in context: http://www.nabble.com/Using-JMS- 
>>> endpoint-with-JCA-and-XA-and-with-Target-Service-%28target-service- 
>>> not-getting-message%29-tf3658149s12049.html#a10220993
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Using-JMS-endpoint-with-JCA-and-XA-and-with-Target-Service-%28target-service-not-getting-message%29-tf3658149s12049.html#a10278371
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Using JMS endpoint with JCA and XA and with Target Service (target service not getting message)

Posted by Annette <do...@photomask.com>.
No, I never resolved the issue. Instead, I re-configured using the class
JmsInUsingJCABinding and got that to work. Thanks for replying.

kitplummer wrote:
> 
> Sorry...have not looked, and I'm assuming you've resolved the issue.  But,
> am curious if it was that the targetService had not activated its endpoint
> or something of the sort.
> 
> Kit
> 
> 
> Annette wrote:
>> 
>> It is in the servicemixconf.zip file attached to first message.
>> 
>> Kit Plummer wrote:
>>> 
>>> Can you post the servicemix.xml that you're using?
>>> 
>>> Kit
>>> On Apr 27, 2007, at 8:09 AM, Annette wrote:
>>> 
>>>>
>>>> Here is another zip file including all SU configurations and component
>>>> source.Thanks for any help.
>>>>
>>>> Annette wrote:
>>>>>
>>>>> I am trying to use a JMS endpoint with JCA and XA. The JMS  
>>>>> endpoint is a
>>>>> consumer and has a target service specified. I can tell from  
>>>>> JConsole that
>>>>> the message is being received on the JMS endpoint. I stepped  
>>>>> through the
>>>>> code ( put all the servicemix code and activemq code in eclipse)  
>>>>> and it
>>>>> looks like it is doing the right thing. In debug, I could the target
>>>>> service was used as the endpoint to send the message (as you know  
>>>>> it is a
>>>>> bit more complicated than that). But my target service never gets the
>>>>> message via the OnMessageExchange method. (And I could tell from  
>>>>> JConsole
>>>>> that the message was not received on target service jca queue). I  
>>>>> have
>>>>> attached all my files. I first was using the servicemix-jms jbi  
>>>>> component
>>>>> in its own SU. However, I rewrote it trying to follow the example  
>>>>> on the
>>>>> servicemix website and made the XA JMS endpoint a lightweight  
>>>>> component,
>>>>> part of a different SU where I am using the servicemix-lwcontainer
>>>>> component. But, there is no difference in the execution as I can  
>>>>> tell. Any
>>>>> help would be appreciated.
>>>>> http://www.nabble.com/file/8110/servicemixconf.zip servicemixconf.zip
>>>>>
>>>> http://www.nabble.com/file/8112/enterprisemessaging.zip
>>>> enterprisemessaging.zip
>>>> -- 
>>>> View this message in context: http://www.nabble.com/Using-JMS- 
>>>> endpoint-with-JCA-and-XA-and-with-Target-Service-%28target-service- 
>>>> not-getting-message%29-tf3658149s12049.html#a10220993
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Using-JMS-endpoint-with-JCA-and-XA-and-with-Target-Service-%28target-service-not-getting-message%29-tf3658149s12049.html#a10286149
Sent from the ServiceMix - User mailing list archive at Nabble.com.