You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "James Lorenzen (JIRA)" <ji...@apache.org> on 2007/01/29 16:42:03 UTC
[jira] Created: (SM-828) OutBinding doesn't allow for
DeliveryChannel.accept()
OutBinding doesn't allow for DeliveryChannel.accept()
-----------------------------------------------------
Key: SM-828
URL: https://issues.apache.org/activemq/browse/SM-828
Project: ServiceMix
Issue Type: Bug
Components: servicemix-core
Affects Versions: 3.0
Environment: Windows XP
ServiceMix 3.0
JDK 1.5
Reporter: James Lorenzen
Priority: Blocker
Attachments: OutBinding.java
The incorrect use of AtomicBoolean in OutBinding prevents components from ever receiving a new MessageExchange through the DeliveryChannel accept() method.
The variable stop gets initialized with false. The start method sets it to true. The run method checks the value and only calls accept if this statement is true:
while(!stop.get()).
Since the value of stop is true, the component never calls DeliveryChannel.accept().
This bug has been found because we attempted to deploy our component, who extends OutBinding, in OpenESB/Glassfish. Our component was never receiving the message and this is how we discovered the bug.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SM-828) OutBinding doesn't allow for
DeliveryChannel.accept()
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SM-828.
--------------------------------
Resolution: Fixed
Fix Version/s: 3.2
3.1.1
Assignee: Guillaume Nodet
Thanks for this patch !
Author: gnodet
Date: Thu Feb 15 01:52:58 2007
New Revision: 507870
URL: http://svn.apache.org/viewvc?view=rev&rev=507870
Log:
SM-828: OutBinding does not allow for DeliveryChannel.accept()
Modified:
incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/components/util/OutBinding.java
Author: gnodet
Date: Thu Feb 15 01:55:04 2007
New Revision: 507871
URL: http://svn.apache.org/viewvc?view=rev&rev=507871
Log:
SM-828: OutBinding does not allow for DeliveryChannel.accept()
Modified:
incubator/servicemix/branches/servicemix-3.1/core/servicemix-core/src/main/java/org/apache/servicemix/components/util/OutBinding.java
> OutBinding doesn't allow for DeliveryChannel.accept()
> -----------------------------------------------------
>
> Key: SM-828
> URL: https://issues.apache.org/activemq/browse/SM-828
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-core
> Affects Versions: 3.0
> Environment: Windows XP
> ServiceMix 3.0
> JDK 1.5
> Reporter: James Lorenzen
> Assigned To: Guillaume Nodet
> Priority: Blocker
> Fix For: 3.1.1, 3.2
>
> Attachments: OutBinding.java
>
>
> The incorrect use of AtomicBoolean in OutBinding prevents components from ever receiving a new MessageExchange through the DeliveryChannel accept() method.
> The variable stop gets initialized with false. The start method sets it to true. The run method checks the value and only calls accept if this statement is true:
> while(!stop.get()).
> Since the value of stop is true, the component never calls DeliveryChannel.accept().
> This bug has been found because we attempted to deploy our component, who extends OutBinding, in OpenESB/Glassfish. Our component was never receiving the message and this is how we discovered the bug.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.