This repository was archived by the owner on Nov 11, 2022. It is now read-only.
Description I have 2 message sources, from database and many properties files
application_en_US.properties
application_vi_VN.properties
application_ja_JP.properties
application.properties
I try
<bean id="messageSource" class="com.example.InitializableMessageSource">
<property name="messageProvider">
<list>
<bean id="jdbcMessageProvider" class="com.example.common.ultils.JdbcMessageProvider">
<property name="dataSource" ref="dataSource" />
</bean>
<bean id="messageSource2"
class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basename" value="classpath:messages" />
<property name="defaultEncoding" value="UTF-8" />
</bean>
</list>
</property>
</bean>
I have
package com.example;
public class InitializableMessageSource extends AbstractMessageSource implements InitializingBean {
}
but error (error convention). Please help me fix it.
This application use synyx.
http://stackoverflow.com/questions/42265104/spring-how-to-implement-multiple-messgesource
Reactions are currently unavailable
I have 2 message sources, from database and many properties files
I try
I have
but error (error convention). Please help me fix it.
This application use synyx.
http://stackoverflow.com/questions/42265104/spring-how-to-implement-multiple-messgesource