On 11/2/07, Angel.Figueroa [EMAIL PROTECTED] wrote:
Maarten,
I understand that the messageReceived will never be called
simultaneously
for the same session. But it can be called concurrently for different
IoSession's.
Let put a real example. A Server Application that received SQL
[
https://issues.apache.org/jira/browse/DIRMINA-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-302.
-
Resolution: Fixed
Assignee: Trustin Lee
The following classes have been checked in:
*
Angel,
The example uses a DataSource, which essentialy IS a connection pool.
Have a look at
http://commons.apache.org/dbcp/apidocs/org/apache/commons/dbcp/BasicDataSource.html
Suppose you configure mina with a thread-pool that uses maximum 10 threads,
and you configure
a BasicDataSource to have
Maarten,
Suppose you want to use more that one instance. How you assign an
instance to a IOSession?
Angel Figueroa
Maarten Bosteels wrote:
On 11/2/07, Angel.Figueroa [EMAIL PROTECTED] wrote:
Maarten,
If you have a class that make the connection to the database and
On 11/2/07, Angel.Figueroa [EMAIL PROTECTED] wrote:
Maarten,
If you have a class that make the connection to the database and
process the sql query. Is recommended to has a class instance for each
IOSession? How you associated the class instance with the ioseccion?
No, I would use a
[
https://issues.apache.org/jira/browse/DIRMINA-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-249.
-
Resolution: Fixed
Assignee: Trustin Lee
I added WriteException that conveys a list of
Maarten,
In you example. Every time messageReceived is called for a IoSession,
you make a new connection. The cost for the connection will be high,
particular for a database connection.
But Suppose the example is change to use a Connection Pool. In that way
every time a new client is
[
https://issues.apache.org/jira/browse/DIRMINA-464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-464.
-
Resolution: Fixed
Assignee: Trustin Lee
It already has been resolved a few days ago. A
[
https://issues.apache.org/jira/browse/DIRMINA-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-262.
-
Resolution: Duplicate
It seems like DIRMINA-144 can take care of this issue together.
[
https://issues.apache.org/jira/browse/DIRMINA-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee closed DIRMINA-27.
--
Resolution: Fixed
Fix Version/s: 2.0.0-M1
All JARs are now OSGi bundles. I used
[
https://issues.apache.org/jira/browse/DIRMINA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-160.
-
Resolution: Fixed
Fix Version/s: 2.0.0-M1
It's already imported into trunk as discussed
[
https://issues.apache.org/jira/browse/DIRMINA-445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539820
]
vincent bourdaraud commented on DIRMINA-445:
Please find my remark inline.
On Mon, 2007-09-24 at 07:37
[
https://issues.apache.org/jira/browse/DIRMINA-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539883
]
Trustin Lee commented on DIRMINA-461:
-
Current MINA I/O processor implementation in both 1.x and 2.x reads from
13 matches
Mail list logo