Search:

Type: Posts; User: w2m; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    14
    Views
    1,665

    Beautiful. I followed your steps and everything...

    Beautiful. I followed your steps and everything worked the first time! You gave a number of insights that were essential to solving the problem but perhaps the most important key was in your post #12...
  2. Replies
    14
    Views
    1,665

    Disjoint adapters are being used on the server. ...

    Disjoint adapters are being used on the server.

    To replace these with an inbound gateway, would I use the same approach to configuring it as I used with the outbound gateway? Is there a need to...
  3. Replies
    14
    Views
    1,665

    Hi Again, I made all the changes and the code...

    Hi Again,

    I made all the changes and the code is working half way. With the gateway, I can send a message and the server picks it up and generates a reply. However, the gateway never picks up the...
  4. Replies
    14
    Views
    1,665

    Yes, of course, use the declared interface! It...

    Yes, of course, use the declared interface! It makes for an elegant design!
    Thanks again!
  5. Replies
    14
    Views
    1,665

    Very cool. Thanks for this. It will simplify the...

    Very cool. Thanks for this. It will simplify the client code. The client code is also a bean. It must be possible for it to be injected with the reference to the gateway? What type would I use?...
  6. Replies
    14
    Views
    1,665

    Hi Gary, Your suggestion looks really neat...

    Hi Gary,
    Your suggestion looks really neat (and is not one I would have considered). I've looked at the sample code and can define the following:


    <channel id="myOutboundChannel"/>
    <channel...
  7. Replies
    14
    Views
    1,665

    Hi Gary, Thanks for your reply. I should...

    Hi Gary,
    Thanks for your reply. I should clarify the scenario. I have a client/server application. The server is implemented using the service-activator component as well as relying on Spring to...
  8. Replies
    14
    Views
    1,665

    How to read from a message-driven-channel-adapter

    Greetings,

    How can a Java program read from a message-driven-channel-adapter?

    I have declared the following outbond-channel-adapter:


    <channel id="myOutboundChannel"/>...
  9. Replies
    17
    Views
    2,188

    Hi Oleg, The brokerURL that you are using is...

    Hi Oleg,
    The brokerURL that you are using is vm://localhost and I'm using tcp://remotehost. Would that make a difference in the creation of the activemq-data folder?
  10. Replies
    17
    Views
    2,188

    Hi Oleg, I did a search for activemq-data on...

    Hi Oleg,
    I did a search for activemq-data on both the client and server machines and found no matches.

    If a corrupted directory is the problem, then the Spring Integration code that I have...
  11. Replies
    17
    Views
    2,188

    I removed the "default-reply-channel" but got the...

    I removed the "default-reply-channel" but got the same result.
  12. Replies
    17
    Views
    2,188

    I am using ActiveMQ. I increased the timeout...

    I am using ActiveMQ.

    I increased the timeout to 15 seconds and set the server to only echo the request message (no business processing). The same timeout exception occurs.

    With the original...
  13. Replies
    17
    Views
    2,188

    The server configuration did not change at all....

    The server configuration did not change at all. The client configuration changed per Oleg's suggestion. The error message has always been the same (see below):

    Client Configuration


    <gateway...
  14. Replies
    17
    Views
    2,188

    Hi Oleg, Thanks for your reply. I did what...

    Hi Oleg,

    Thanks for your reply. I did what you suggested and, unfortunately, got the same results. I originally did not have the gateway but only the jms:outbound-gateway and got the timeout...
  15. Replies
    17
    Views
    2,188

    Hi Mark! Yes, I'm using JMS. Here are the...

    Hi Mark! Yes, I'm using JMS. Here are the configuration elements:

    Server side (inbound-gateway):



    <beans:bean id="manager" class="business.Manager"/>

    <jms:inbound-gateway id="jmsin"...
  16. Replies
    17
    Views
    2,188

    Outbound Gateway Dilemma

    I am using a using an outbound gateway in a request/reply scenario. I am able to send one request and receive the reply. Efforts to send a second request results in a MessageTimeoutException.

    The...
  17. Replies
    11
    Views
    2,143

    I had the same problem with consumer connections...

    I had the same problem with consumer connections increasing and have solved that problem by changing the connectionFactory settings as previously suggested. I still experience a timeout, though.
    ...
Results 1 to 17 of 18