can u post ur xml config?
Type: Posts; User: vijaycr; Keyword(s):
can u post ur xml config?
The question looks more appropriate for a WebSphere MQ forum.
Anyways, Its done by default by MQ JMS Api you dont have specify that at all.
Enjoy.
You can use a custom BeanPostProcessor or a FactotyBea to achieve what you want.
ApplicationContext will create all the beans defined as Singleton unless they are marked as lazy-init
Simply setup 2 DMLC beans each pointing to 2 different destinations
If I understand the above correctly, You want the listener to process only one message(that maked it 5 as you have 5 consumers) every 5 minutes? if that is the case then you can simply set the...
You can use the Timertaskexecutor and set a delay.
Then i think each consumer would only consume <maxMessagesPerTask> or 10 (default) number of messages per run, if you can set ...
Why allow cancel of order in the first place if it is not registered??
Cant u simply disable this feature untill the mdbx processes the message?
You can use Abstract Bean Definitions.
Read more here
http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#beans-child-bean-definitions
You simply need to define a BeanPostProcessor as a bean. The application context will do the rest. Look at the javadoc for BeanPostProcessor
Decryption is something that you could reuse for other similar requirements.
While any one of them would work, I tought BeanPostProcessor would be appropriate for your requirement as a FactoryBean...
You can create a BeanPostprocessor that would accept the encrypted properties as a property, decrypt it and set it to the password property of any bean of type BasicDatasourcse or a particular bean...
Use a Custom BeanPostProcessor instead
if your All beans in the context are singleton and have destroy method defined. You can simply register a shutdown hook by using context.registerShutDownHook this will destroy all singletons.
If...
U dont have commons-logging jars in the class path
Spring uses commons logging which discovers logging framework.
Log4j first looks up log4j.xml if not found then log4j.properties.
IMO u cannot change this behaviour.
I use
http://repo1.maven.org/maven2 for maven 2
its also available here for maven 1
http://repo1.maven.org/maven for maven1
Can you post your bean definitions for other beans as well?
This article should sole most of your problems
http://www.ibm.com/developerworks/websphere/techjournal/0609_alcott/0609_alcott.html
In your case, some coding will always be neccesary. You seem to prefer coding in XML than Java.
IMHO it would be far more easier to code in java than to learn some new XML configuration language.
it can also be solved by making the datasource lazyinit and the database manager shld not get the bean if the database is offline.
IMO Extending a Datasource class might not be a good idea as your...
Its already in the airticle. Check the section sub section Set up JMS and JNDI administration under the sectionQueue manager setup
I followed the same article and was able to get it working.
Have you followed the steps detailed in settingup the QueManager? Yhat section there is a part where you need to setup the jndi...
Yes. You would need both the SimpleTrigger and the Crontrigger
Can some one give me the link to the central poll page. I got directed to springframework.org and then a link there to cellaral poll page brought me back here :)
Quartz allows for trigger say something like start at 10:00 AM and trigger at 30 mins untill 5:00 PM. I think the question is, say you are startting at say 10:10 AM, how to trigger a job on startup...