geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomasz Mazan (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (GERONIMO-3783) MessageDrivenBean delivery problem
Date Mon, 04 Feb 2008 21:03:10 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565525#action_12565525
] 

beniamin edited comment on GERONIMO-3783 at 2/4/08 1:02 PM:
----------------------------------------------------------------

I've edited deployment plan and finally have RAs like below:
{noformat} 
	<resourceadapter>
		<resourceadapter-instance>
			<resourceadapter-name>MessageReceiversMDB</resourceadapter-name>
			<config-property-setting name="UseInboundSession">true</config-property-setting>
			<nam:workmanager xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
				<nam:gbean-link>DefaultWorkManager</nam:gbean-link>
			</nam:workmanager>
		</resourceadapter-instance>
		 <outbound-resourceadapter>
			<connection-definition>
				<connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
				<connectiondefinition-instance>
					<name>MRConnectionFactory</name>
					<connectionmanager>
						<xa-transaction>
							<transaction-caching/>
						</xa-transaction>
						<single-pool>
							<max-size>20</max-size>
							<blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
							<select-one-assume-match/>
						</single-pool>
					</connectionmanager>
				</connectiondefinition-instance>
			</connection-definition>
		</outbound-resourceadapter>
	</resourceadapter>
	<resourceadapter>
		<resourceadapter-instance>
			<resourceadapter-name>MessageSender</resourceadapter-name>
			<nam:workmanager xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
				<nam:gbean-link>DefaultWorkManager</nam:gbean-link>
			</nam:workmanager>
		</resourceadapter-instance>
		 <outbound-resourceadapter>
			<connection-definition>
				<connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
				<connectiondefinition-instance>
					<name>MSConnectionFactory</name>
					<connectionmanager>
						<xa-transaction>
							<transaction-caching/>
						</xa-transaction>
						<single-pool>
							<max-size>20</max-size>
							<blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
							<select-one-assume-match/>
						</single-pool>
					</connectionmanager>
				</connectiondefinition-instance>
			</connection-definition>
		</outbound-resourceadapter>
	</resourceadapter>
{noformat} 
It's not working if {{maxSessions}} not equals {{maxMessagesPerSessions}}

      was (Author: beniamin):
    I've edited deployment plan and finally have RAs like below:
<pre>
	<resourceadapter>
		<resourceadapter-instance>
			<resourceadapter-name>MessageReceiversMDB</resourceadapter-name>
			<config-property-setting name="UseInboundSession">true</config-property-setting>
			<nam:workmanager xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
				<nam:gbean-link>DefaultWorkManager</nam:gbean-link>
			</nam:workmanager>
		</resourceadapter-instance>
		 <outbound-resourceadapter>
			<connection-definition>
				<connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
				<connectiondefinition-instance>
					<name>MRConnectionFactory</name>
					<connectionmanager>
						<xa-transaction>
							<transaction-caching/>
						</xa-transaction>
						<single-pool>
							<max-size>20</max-size>
							<blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
							<select-one-assume-match/>
						</single-pool>
					</connectionmanager>
				</connectiondefinition-instance>
			</connection-definition>
		</outbound-resourceadapter>
	</resourceadapter>
	<resourceadapter>
		<resourceadapter-instance>
			<resourceadapter-name>MessageSender</resourceadapter-name>
			<nam:workmanager xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
				<nam:gbean-link>DefaultWorkManager</nam:gbean-link>
			</nam:workmanager>
		</resourceadapter-instance>
		 <outbound-resourceadapter>
			<connection-definition>
				<connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
				<connectiondefinition-instance>
					<name>MSConnectionFactory</name>
					<connectionmanager>
						<xa-transaction>
							<transaction-caching/>
						</xa-transaction>
						<single-pool>
							<max-size>20</max-size>
							<blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
							<select-one-assume-match/>
						</single-pool>
					</connectionmanager>
				</connectiondefinition-instance>
			</connection-definition>
		</outbound-resourceadapter>
	</resourceadapter>
</pre>
It's not working if <code>maxSessions</code> not equals <code>maxMessagesPerSessions</code>
  
> MessageDrivenBean delivery problem
> ----------------------------------
>
>                 Key: GERONIMO-3783
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3783
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: ActiveMQ
>    Affects Versions: 2.1
>         Environment: Windows XP Professional, 2GB ram, Java6SE, Geronimo 2.1-snapshot
(2008-01-02)
>            Reporter: Tomasz Mazan
>            Priority: Critical
>         Attachments: mdb-issue.zip
>
>
> MessageDrivenBean that listens on the Queue receive (and process) some messages and then
stop receiving any new message until next module's restart.
> After restart a few next messages are delivered to MDB, and it stops again.
> Some additional information I put here http://www.nabble.com/Strange-plug-with-delivering-messages-to-MDB-td14923100s134.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message