incubator-hcatalog-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HCATALOG-39) Lazily create connection for Message bus
Date Fri, 03 Jun 2011 18:43:47 GMT

    [ https://issues.apache.org/jira/browse/HCATALOG-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043957#comment-13043957
] 

Ashutosh Chauhan commented on HCATALOG-39:
------------------------------------------

Better strategy is to create a connection when message needs to be delivered and then cache
it. On subsequent message delivery request, check if there is a valid connection, if not try
creating again.

> Lazily create connection for Message bus
> ----------------------------------------
>
>                 Key: HCATALOG-39
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-39
>             Project: HCatalog
>          Issue Type: Improvement
>    Affects Versions: 0.2
>            Reporter: Ashutosh Chauhan
>             Fix For: 0.2
>
>
> Currently a connection to a jms provider is created in constructor. This results in two
problems: 1) This implies message bus must be up before metastore starts up. 2) If connection
cannot be made, no further attempts to reconnect will be made until metastore restarts.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message