Skip to content

Allow application to start if cassandra is unavailable [DATACASS-210] #380

Closed
@spring-projects-issues

Description

@spring-projects-issues

Chad Jaros opened DATACASS-210 and commented

If cassandra is not available at boot time, CassandraCqlSessionFactoryBean.afterPropertiesSet() causes the application to exit before completing the startup process. It is desirable for my application to complete booting and allow the application to start and report specific errors.

This can be accomplished by making the factory beans operate lazily, retrying the connection on demand and storing the session object once a connection is successfully made


Affects: 1.2 GA (Fowler)

Issue Links:

  • DATACASS-460 NoHostAvailable not caught at bean declaration, but only at initialization
    ("is duplicated by")

1 votes, 1 watchers

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions