But I don't want any references to UUIDGenerator in my code. so in future i can change the generator without changing code
Type: Posts; User: muhwas; Keyword(s):
But I don't want any references to UUIDGenerator in my code. so in future i can change the generator without changing code
Hi guys,
I was just wondering if its possible to invoke a method of a bean in application context file and set another bean property with the return value. something like this
<bean...
Hi guys,
I want to know if there is a way to get a JMSMessageId using JMSTemplate after message is delivered. I am setting MessageID before sending the message but somehow JMS is overwriting my...
for format you should use "JMS_IBM_Format" and its a MQCHAR8 please see
http://www-306.ibm.com/software/integration/mqfamily/library/manualsa/csqzaw06/csqzaw066i.htm#TBLMESPCFT
Hi guys,
I have a ArrayList of correlation IDs and i want to use setMessageSelector of DefaultMessageListener to listern of only these ID from output queue. Can somebody please let me know if its...
Hi,
How i can set following properties on the JMS Messages
characterSet
encoding
format
persistence
replyToQueueManagerName
replyToQueueName
Hi,
I want to know can I use the same jmsTemplate to send a message to one queue and receive response message from a different queue?
regards,
muhwas
Hi guys,
How i can configure MessageListenerAdapter to only receive messages with a perticular correlation ID like in synchronous jms message we can use receiveSelected(String messageSelector)
...
Hi guys,
I want to know how we can correlate messages using JmsTemplate. So when i send message i set the messageId and only look for messeges which has that correlation id.
regards,
muhwas
Hi guys,
I am trying to connect to AS400 MQ and i want to know how to specify following things in Spring JMSTemplate bean.
IP
Port
Input Queue
Output Queue
Channel
Queue Manager
i have one log4j.xml file in WEB-INF directory. which define logging configuration for different pakages. I want to also diffine configuration inside applicationContext so that when if i want to...
Hi everybody,
I was just wondering if its possible to override log4j configuration in spring ApplicationContxt.
thank you,
muhwas
I want to do sometime like i have many collections say(list1, list2, list3...etc)
and in one of my bean1 i just want to use(list1 and list2) collection and in my bean2 i want to use(list1 and list3).
I want to merge two or more list. How i can acheive this? I know its possible through bean1 parent of bean2 and bean 2 parent of bean 3 and so on.
but i want bean1 seperate bean containing list,...
I was wondering if it is possible for one bean to inherite from two different beans that is one bean has two or more parents.
<bean id="bean1" abstract="true">
<property name="someList">
...
can somebody please tell me which spring jar this class located?
thank you
I was able to solve this problem using following code
try { resBundle = ResourceBundle.getBundle("MyProject"); }
catch (Exception ex) { ex.printStackTrace(); }
appConfigFile =...
No we are looking for to change the bean property values in applicationContext while the application is running and application should pick up those new values without restart.
yeah i tried ClassPathResource and it worked but the problem is if i change the bean property value in ApplicationContext.xml then i doesn't load the new bean difination everytime i call
new...
I am able to do it using XmlBeanFactory(new FileSystemResource("applicationContext.xml")
and now if i change the bean property value in the applicationContext.xml and call new on XmlBeanFactory i...
no. I meant when i change the message inside ApplicationContext.xml and then call getMessage() on my bean it return me the old message not new message. So i want to know what should i do to read the...
Hi everybody,
I am want to know how i can change/load bean properties at runtime in my web application.
I have a web application. I have a class which first get the applicationContext like this. ...
thank you for your reply. i used the ContextLoaderListener but no success.
Hi All,
I have written a sample Hello World service using Spring and Axis deployed under JBoss AS. I can see the service through http://localhost:8080/axis/services/HelloWorld but when i try to...