I have below code for sending the mail as soon as message code to queue a mail should be fired
<context:component-scan base-package="com.walgreens.ods.producer" />
<int:channel...
Type: Posts; User: resolve123; Keyword(s):
I have below code for sending the mail as soon as message code to queue a mail should be fired
<context:component-scan base-package="com.walgreens.ods.producer" />
<int:channel...
Hi Amol could you please provide me JTA setting in spring configuration(any JTA implementation) which i can run on my websphere .I was using Atomikos just to test it as standalone application.
If...
Now i am able to run the code but when there is exceptions it is not sending the message back to MQ.Although dabase entrie is getting rollback.
4410[
Please find attached the code base
4409
I am using spring integration.I am reading messahe from MQ and mean while for audit purpose i am recording each message read in datbase.If there is any issue then messahe should go back to MQ and...
<bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL">
<value>tcp://localhost:61616</value>
</property>
</bean>
<!-- ...
Could you please let me know does this upper code is fine or do we need to make any modification in it.Or i there any other better solution
Thanks for the response. I tried to serach on it but didn't get any clear code.I got something like on atomikos but it is not doing the rollback neither for jms nor for DB
<bean...
I am recieving the message from a queue and generating files from these messages.I have used AOP advice for transaction handling .I used JMS transaction manager.If there is any exception in file...
Could you please let me know if i am grouping 10 messages at a timeif suppose i didn't recieve 10 messages in suppose 2 seconds then i would like to process only no of message i got> I mean 10...
It will be great help if you can provide me some solution for this query
Is there any way in SI to know the file creation time.
Thanks for the solution it's working as well .Could you please clearify what exactly it is doing also let me is it possible if in particular time period suppose i want to group 10 messages if i don't...
Please let me know is it possible in Spring Integration or not.I am doing R&D on this since last couple of days.
I am contineously getting the message on my MQ.I have to pick 10 messages at a time and write them in a file.
I know we can use Aggregator but i don't know how to pick ten messages and grouped them,...
I want to write 10 messages at a time in a file.Could you please provide me little configuration info in SI as how to write aggregator in below code
<jms:inbound-channel-adapter id ="channel-to-mq"...
I am handling it by validating the xml file against XSD as i am getting XML as reply file.If validation fails means file is not written it's under progress.Once it is written completely it should be...
I have file inbound adaptor which reads the file from directory.I am having a tool which right the files to this directory.I don't want to pick those file which has not been written in directory...
@ServiceActivator
public void MessageSender(Message msg) {
it will be Message spring integration message which payload is of file type.
I want to handle my file throught service activator like as given below.I don't want to use outbound adaptor as i need this file in my java code.
<file:inbound-channel-adapter...
is it possible if yes then how
Please reply as i have stucked because of this.How get file name which i need to delete.
Thanks for the code but i have one problem here my service activator is containing the code for message sending and delete but how will i get the file name which is just converted into string...
could you please explain what exactly i will get on output channel output-channel="orderItemsChannel after this . i mean how this upper xml will be splitted as i want to get splitted xml will i get...