Message 2 « Message « Spring Q&A





1. how to get customized message    forum.springsource.org

how to get customized message Hi, I would like to get customized MessageSource in my Spring MVC application. How should i do if each request url has own message properties file ...

2. Configuring fault messages from WsSecurityInterceptor    forum.springsource.org

Configuring fault messages from WsSecurityInterceptor Is it possible to customise the fault generated by the WsSecurityInterceptor? At the moment it generates a fault that reveals a little too much of the ...

3. What is the best practice to implement Request-Reply style message handling in SI?    forum.springsource.org

What is the best practice to implement Request-Reply style message handling in SI? I am using Spring Integration in a Spring MVC controller context, and I need implementing Request/Reply style message ...

4. ListSelectionDialog setting messages    forum.springsource.org

thank you! for documentation-purpose: it doesn't matter how the property is named, the entries in the message properties file always are selectField.clearCommand.label and selectField.selectCommand.label (and not mypropertyname.clearCommand.label etc.) thx, dominik

5. Jcifs Not a type 3 Message    forum.springsource.org

Jcifs Not a type 3 Message Hi, We are using Spring Security rc2 and are getting the error "Not a Type 3 message". I did some research and found out that ...

6. Message selector    forum.springsource.org

I am working email Scheduling task. All the Email requests will be queued into a JMS Queue. Some emails can be scheduled to deliver in future date. Some emails can be ...

7. Plugging customized message to FlatFileParseException    forum.springsource.org

How do i attach the customized exception message ("File is not comma delimited") to the FlatFileParseException? My class ABCMapper is as shown below... Do i need to implement ItemReader subclass? ABCMapper ...

8. Reading EMS message as TextMessage instead of String    forum.springsource.org

Reading EMS message as TextMessage instead of String hi, i am new to springs so might be a basic query. In our application we are reading the incoming EMS message as ...

9. NULL messages in ChannelInterceptor.postReceive    forum.springsource.org

NULL messages in ChannelInterceptor.postReceive I have a simple setup with a single channel, a class that sends 100 messages with a string payload, a simple handler that does nothing but print ...





10. Message Cloning / copying    forum.springsource.org

I would really like to be able to make a copy of a message and then just change small parts of the message, perhaps the payload. however, since the payload, header ...

11. Problem signing message with wss4j    forum.springsource.org

Problem signing message with wss4j After numerous attemts to sign my messages using xwss I gave up (classpath hell; java.lang.VerifyError), I decided to give it a try with wss4j. Unfortunately this ...

12. Missing start boundary on messages with attachments    forum.springsource.org

Missing start boundary on messages with attachments I'm attempting to send a SOAP message with an attachment, using WebServiceMessageCallback to add the attachment like so: Code: WebServiceMessageCallback requestCallback = new WebServiceMessageCallback() ...

13. synchronous messages ala observer pattern    forum.springsource.org

synchronous messages ala observer pattern I looked over some of the issues open and closed around synchronous messages. I would like to have observer pattern messages dumped into a channel and ...

14. DomPox message parsing    forum.springsource.org

When Spring WS is configured to use DomPox with message validation: ,the resulting parsing validation errors are only ...

15. DefaultMessageListener not receving messages    forum.springsource.org

DefaultMessageListener not receving messages Hi, I have some problem using a MDP and activemq. I have set up a ListeningContainer that I start in a standalone process and I can send ...

16. Message Router and correlationID    forum.springsource.org

I'm trying to combine a router with an aggregator, where alle the messages go through the router first and some of theme are aggregated in the next step. It seems that ...





17. DefaultMessageListenerContainer, AMQ, did not receive a message    forum.springsource.org

I get tons of debug output in my JBoss log (see below). I'm using Apache Camel 1.3 and Active MQ 5.1.0. Any ideas? /S 2008-05-31 14:59:52,780 DEBUG [org.springframework.jms.listener.DefaultMessageLis tenerContainer] Consumer [ActiveMQMessageConsumer ...

18. I get only the first message over the httpinvoker    forum.springsource.org

Hello I created a little sample with httpinvoker-target and httpinvoker-source: Code and Log is in the attachment The mapping is not the problem, that seems to work. I get one message ...

19. Using MessageContext and h:messages with UTF-8    forum.springsource.org

Using MessageContext and h:messages with UTF-8 Sorry, but I have to keep bugging you all with newbie questions until I've got a little more to actually work. ;-) For the record, ...

20. @RequestParam custom message    forum.springsource.org

If I use the @RequestParam in an annotated method. For example Code: @RequestMapping(method = RequestMethod.GET) public String showSomething(@RequestParam("id") Integer id) { ... } If the request comes in without the id ...

21. stopping the message bus    forum.springsource.org

stopping the message bus we are using spring integration in our project were we connect the channels with Jms message queues on weblogic after lookup through jndi. we have a request ...

22. Message bus no stopping when application stops?    forum.springsource.org

Message bus no stopping when application stops? Hi, I have four applications (let's call them S1, S2, M and P), all running a message bus. P send messages to M through ...

23. Help!!! Testing if message is received in the forum and question.    forum.springsource.org

For the one hand. Well, I wonder if message is received. Another hand. I need to know if in Eclipse Web Tools and using a Tomcat Server, I can create a ...

24. GatewayProxyFactoryBean losts messages    forum.springsource.org

GatewayProxyFactoryBean losts messages Hi I'm using M6 and i am experiencing problems with a messaging Gateway. It sometimes lost two or three messages under some heavy load (100 - 200 threads ...

25. Message-based routing with translater    forum.springsource.org

Message-based routing with translater I have an incoming payload (a map) which will be routed (like the Cafe demo) to one of these two channels: - someChannel - clientChannel In the ...

26. RolledBack message    forum.springsource.org

RolledBack message Hi, I'm trying to configure a MDP as below and deploy to WebLogic. ...

27. Difference between Adapters and Message Handlers    forum.springsource.org

Don't blame yourself, blame our documentation we're working on it. To answer your question: Adapters are meant to establish a connection between the messaging system and the outside world. Handlers (in ...

28. status.errorMessage is not showing message    forum.springsource.org

Oct 18th, 2008, 07:26 AM #1 deepakdhanwani View Profile View Forum Posts Private Message Junior Member Join Date Oct 2008 Posts 18 status.errorMessage is not showing message I have just started ...

29. email transport for oneway message with no storeUri    forum.springsource.org

Hello, I would like to use spring-ws to send a one way message to an email endpoint. Is there a way to not have to specify a storeUri and not have ...

30. Large Message Performance Techniques    forum.springsource.org

Large Message Performance Techniques I need to send SOAP responses that are quite large. Currently I limit to around 6.5 MB, but I need to be able to provide larger, the ...

31. Splitting XML Messages    forum.springsource.org

Splitting XML Messages Hi, I have upgraded my application to SI 1.0. I have a JDOM document which already has a namespace prefix.How do I split them into each divisions when ...

32. ImapIdleChannelAdapter never seems to wake up to process messages    forum.springsource.org

ImapIdleChannelAdapter never seems to wake up to process messages In order to circumvent the issue of spring-integ-mail not having support to provide an authenticator I have switched to configuring an ImapIdleChannelAdapter ...

33. Message After Timeout    forum.springsource.org

When a user times out of my application they are successfully logged out of my application via Acegi. My problem lies in that I can't figure out how to carry the ...

34. Setting a message prefix    forum.springsource.org

Hi, I am pretty new to spring, so any help would be greatly apprecaited :-) I want to use the setPrefix(String prefix) method of DefaultMessageCodesResolver to set a different prefix when ...

35. localizing message arguments    forum.springsource.org

I'm using spring:message tag and I want the arguments to be localized arguments. For example, consider a message notifying a field is required, both the message and the field names should ...

36. Problem with multiref message    forum.springsource.org

Problem with multiref message Hi, I'm building a WS to dispatch request from several old Axis clients. I took the WSDL and if i try to send and receive messages using ...

37. how to get messages in XHTML page using facelets    forum.springsource.org

Hi All, Im using facelets in my project and I need to get messages: the porblem in Xhtml page doesnt know

38. Messages lost when capacity reached    forum.springsource.org

I am finding that messages are lost in my scenario described below: Service Activator outputs 2 messages to a pub/sub channel. There are 2 consumers and they each consume the message ...

39. Unmarshalling compund messages    forum.springsource.org

Hi, is it possible to unmarshal a "compound" message with the Jaxb2Marshaller? For example, a message from a web service declared like this: Code: ... ...

40. How to display message on web from ApplicationListener?    forum.springsource.org

I have a ApplicationListener that listens for AuthenticationFailureBadCredentialsEvent. I want to display some message to the web page (login form) after some processing in the ApplicationListener. How can I do it ...

41. Working with Messages    forum.springsource.org

Hi all, Ok, so I got my MQ setup and I put a few messages on the Q. I then use SI to pull a message off and write it away ...

42. warn message displayed for org.springframework.scheduling.quartz.MethodInvoki ngJobDet    forum.springsource.org

warn message displayed for org.springframework.scheduling.quartz.MethodInvoki ngJobDet Hi, The below is the message displayed when i am trying to run the application in weblogic server. Some part of data is exported into ...

43. Multicast cloned messages    forum.springsource.org

Multicast cloned messages Use Case: Incoming messages need to go through a common set of filtering, validation and transformation. After the "common steps" I need to "clone" the message and multicast ...

44. Monitoring processing progress and dequeueing messages?    forum.springsource.org

I was wondering what the best practices are regarding tracking of message processing progress of (JMS) channels? On a related note to that: how would one programmtically dequeue a message, so ...

45. SoapFaultClientException: The message with Action '' cannot be ...    forum.springsource.org

SoapFaultClientException: The message with Action '' cannot be ... I am writing the client side portion of a contract. The server-side portion is on an IIS server (not sure what the ...

46. Updating EXIT_MESSAGE    forum.springsource.org

Updating EXIT_MESSAGE Hi, I have a batch application that reads a flat file and does some processing, and writes the outcome to a log file. So, we dont need to have ...

47. international messages    forum.springsource.org

international messages hello all i want to include all application messages in a resource bundle so i add messages in my config file ...

48. Passing a list of Messages to @MessageEndpoint    forum.springsource.org

Hi Folks, Is there any way that we can pass a list of messages to the bean annotated with @MessageEndpoint. Right now a method annotated w/@ServiceActivator is called once per message. ...

49. Aggregating messages with uncertain sequence size    forum.springsource.org

Aggregating messages with uncertain sequence size Hello every one, I have two applications that communicate with each other by sending (JMS) messages via a JBoss topic. One component reads a file. ...

50. Message ressources use    forum.springsource.org

I need to be able to use property text in properties files. Here's an exemple. In message.properties Code: tech=Technology In validation.properties Code: tech.required=The field tech should be ... So, ...

51. Bad Credential Message not shown on duplicate submits.    forum.springsource.org

Bad Credential Message not shown on duplicate submits. Help please... Here is the problem, I am having when logging in. On the first try if the password or userID is invalid, ...

52. Why won't SoapActionCallback work with encrypted messages?    forum.springsource.org

Why won't SoapActionCallback work with encrypted messages? I have tested this in both 1.5.7 and 1.5.8. My client extends WebServiceGatewaySupport and I want to use it for sending messages to both ...

53. com. between application and persistence of messages.    forum.springsource.org

com. between application and persistence of messages. hello, i'm new with spring integration, i read everything i can, but there is 2 point still not clear for me : 1) if ...

54. Default Message Factory    forum.springsource.org

I was reading through the tutorial and noticed that there are two message factories: The SaajSoapMessageFactory and the AxiomSoapMessageFactory. From the log files it appears that the SaajSoapMessageFactory is loaded by ...

55. no declaration can be found for element message-bus    forum.springsource.org

Hello, I am getting the following error. Please kindly help. cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'message-bus'. Thanks in advance Code: Exception in ...

56. Difficulty Reading Message Body in AbstractController    forum.springsource.org

Difficulty Reading Message Body in AbstractController I went to read the message body in an AbstractController subclass, and had a puzzling problem. I'm processing a POST, and if the message contains ...

57. XOP Include in response message    forum.springsource.org

Hi, I am encountering the same problem as described here: http://jira.springframework.org/browse/SWS-242 Basically, the validator for the response does not allow the xop:include element used when an attachment is sent back. As ...

58. Configuration per incoming Message    forum.springsource.org

Configuration per incoming Message I have a scenario where an xml feed comes in with the following structure Code: Vendor #1 object 1 object 2 object 3 object 4 ...

59. Unable to properly setup RMI gateways. cannot read message on RMI side    forum.springsource.org

Unable to properly setup RMI gateways. cannot read message on RMI side hello all i am trying to setup my app so that spring integ messages are sent to a remote ...

60. SMTPSendFailedException - Account Failure. Message quota exceeded!    forum.springsource.org

Jan 9th, 2010, 12:10 AM #1 logixplayer View Profile View Forum Posts Private Message Senior Member Join Date Jun 2009 Posts 106 SMTPSendFailedException - Account Failure. Message quota exceeded! Hi, I ...

61. How can I get the message in the queueChannel    forum.springsource.org

62. Future as a result of MessageChannelTemplate.sendAndReceive    forum.springsource.org

Hello again! I need to send the same message to a few handlers in parallel and wait until they send the results back. If MessageChannelTemplate would return Future, I could send ...

63. spring:message removes quotes    forum.springsource.org

Hi all, I have the following bit of code in a JSP (note the 'hello' arguments of myFunction): Code: <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> <% String myLink = "

64. Persisting messages with a ChannelInterceptor    forum.springsource.org

Persisting messages with a ChannelInterceptor I am implementing ChannelInterceptor which persists the messages of queue channels. When the application is restarted I automatically restore the messages from the DB. The interceptor ...

65. JSR303 Custom Messages for Composed Classes    forum.springsource.org

JSR303 Custom Messages for Composed Classes I am really stuck on this one. I have JSR303 validation working perfectly, but don't know how to customize messages on composed class. For example, ...

66. IllegalStateException: No message listener specified    forum.springsource.org

IllegalStateException: No message listener specified Our JMS messaging stack is configured with Spring Integration 1.0.3 and Spring JMS 2.5.6 like this Code: ...

67. How to use ReloadableResourceBundleMessageSource and getting the messages displayed?    forum.springsource.org

Hello! I'd like to use ReloadableResourceBundleMessageSource for displaying messages and texts in my web application (Spring 3 + JSF 2). ReloadableResourceBundleMessageSource because I want to change my messages.properties at runtime. messages.properties ...

68. Aggregate a list of messages and wait for timeout to start processing them    forum.springsource.org

Aggregate a list of messages and wait for timeout to start processing them Hi all, I'm new to Spring and I would really appreciate your help in choosing the right approach ...

69. SoapMessageCreationException Unable to internalize message    forum.springsource.org

Apr 23rd, 2010, 11:52 AM #1 ermalex View Profile View Forum Posts Private Message Junior Member Join Date Apr 2010 Posts 1 SoapMessageCreationException Unable to internalize message Hi, We are getting ...

70. Custom Aggregators that return Message are being wrapped in another Message    forum.springsource.org

According to the Spring Integration 2.0 Reference Manual, Section 11.3 (AbstractMessageAggregator): In general, any ordinary Java class (i.e. POJO) can implement the aggregation algorithm...[and] if the return type in not assignable ...

71. Same Message needs to go to two different Queues.    forum.springsource.org

Same Message needs to go to two different Queues. I have a message that needs to gets converted into BytesMessage before being sent to two channels. Currently, I have a message ...

72. All attempts to deliver Message to MessageHandlers failed    forum.springsource.org

All attempts to deliver Message to MessageHandlers failed Hi, I am trying a simple spring integration project and ran into an UnicastingDispatcher exception. This is happening right after Transformer converts my ...

73. deliver Message to MessageHandlers failed    forum.springsource.org

deliver Message to MessageHandlers failed Hi Guys, A kind of strange thing that I am having. I have a channel( say inputChannel) which hav two handlers say handlerA and handlerB. I ...

74. how to use display multiple messages in one ObjectError?    forum.springsource.org

how to use display multiple messages in one ObjectError? In my web app, we use Spring MVC with the form tags. Controller methods take a BindingResult param, and when an error ...

75. Multi-Message doReceive Methods?    forum.springsource.org

Multi-Message doReceive Methods? Hi, I have a program that parses large amounts of data and then saves it all to a DB. I have a saveAll(Collection) method on my dao's and ...

76. Failed to localize arabic message    forum.springsource.org

Although I am using Spring resource bundling support successfully, however when I write errorCode as key within message_ar.properties then use it through Validator class by mean of errors.rejectValue method it is ...

77. Problems with Message Publishing in 2.0.0.M5    forum.springsource.org

Problems with Message Publishing in 2.0.0.M5 Hi, I'm trying to use message publishing in order to invoke some logic whenever a state object in my application is updated. I use the ...

78. Flag a Email Message    forum.springsource.org

Flag a Email Message I am new to Spring Integration. I have a requirement to read mails from a IMAP compliant mail-server, process the contents and then mark them as READ. ...

79. Async (Message Driven) step invocation    forum.springsource.org

Async (Message Driven) step invocation Hi, I am implementing a job that is comprised of several sequential invocations of an mdb which does some work (takes a while) and replies also ...

80. inbound-split-process each message- end of job(finally block?)    forum.springsource.org

Hi, Have a in bound file- we split up the file in to several message so each can be processed individually. Finally once all these messages from splitter are processed, would ...

81. Message driven step    forum.springsource.org

Hi, i'm trying to establish a message oriented step to support the following use case within the job description:

82. setting dynamics parameters in a message    forum.springsource.org

arguments Set optional message arguments for this tag, as a comma-delimited String (each String argument can contain JSP EL), an Object array (used as argument array), or a single Object (used ...

83. Message handling problem in 1.0.4, works in 2.0.0 M5    forum.springsource.org

Message handling problem in 1.0.4, works in 2.0.0 M5 I have the following error handling scenarios in my context: Code: ...

84. how to modify the enum message to chinese?    forum.springsource.org

ever i make enum with domain,it display english. how to modify the enum message to chinese? i guess is: create chinese enum type class?

85. Transform one message into multiple messages    forum.springsource.org

Hello all. I'm using a mail:outbound-channel-adapter to send emails with notifications of certain events. I have a transformer behind to convert the event messages into MailMessages. The thing is, I would ...

86. Customizing EXIT_MESSAGE    forum.springsource.org

Is it possible to customize the EXIT_MESSAGE in the BATCH_STEP_EXECUTION or BATCH_JOB_EXECUTION table? I'd like to store a short & helpful error message instead of the entire stack trace. I hoped ...

87. Scheduling messages with custom priority and custom algo    forum.springsource.org

Scheduling messages with custom priority and custom algo Hi Guys, I have a scenario like -- I have 100 messages coming on queue Q1. I have configured a Message Driven Adaptor ...

88. PropertiesLoaderSupport, ignoreResourceNotFound, and warning message    forum.springsource.org

PropertiesLoaderSupport, ignoreResourceNotFound, and warning message When loading properties, PropertiesLoaderSupport class logs a warning message "Could not load properties from ...", even though ignoreResourceNotFound is explicitly configured to true. IMO warning level ...

89. Why StringHttpMessageConverter closes the message body output stream ?    forum.springsource.org

Hi ! The method writeInternal of the class StringHttpMessageConverter is calling FileCopyUtils.copy. This "copy" method (as specified in is documentation) closes the output stream after the text has been copied. This ...

90. Message Question    forum.springsource.org

Message Question I'm copying this over from the list and wanted to continue the discussion. You should be able to make the argument itself MessageSourceResolvable. So MessageSourceResolvable nameResolvable = new MessageSourceResolvable() ...

91. should-mark-messages-as-read is always true    forum.springsource.org

I am not sure i understand the question. There is no attribute "should-mark-messages-as-read" on mail inbound channel adapter simply because it could be used with both IMAP and POP3 and in ...

92. Message delete flow    forum.springsource.org

I am developing a small flow to delete messages from a particular directory. I couldnt find a option to achive that using file inbound and outbound adaptors or i am missing ...

93. Routing XML Messages Based on the Root Node    forum.springsource.org

Routing XML Messages Based on the Root Node Hi, I'm looking to route third party xml messages into channels, via the root xml node. All the xml messages come into a ...

94. Passing Messages to errorChannel    forum.springsource.org

Passing Messages to errorChannel I'm trying to understand how to route messages to an error channel within single thread processing (i.e. all DirectChannels). I am not using a TaskExecutor, and my ...

95. when are messages put on errorChannel    forum.springsource.org

I have read through B.4 Error Handling, but is there a bit more detail on when "errors" are put on this channel (under what conditions), it seems a bit vague from ...