Thnx for your reply mark..
the code+config follows By the way, i have left JMS out of the picture for now, i am running this as a unit test.
this is gateway interface on the producer side:
Code:
public interface Publisher {
void publish(Publication publication);
}
The Publication class encapsulates a few objects that need to be processed on the consumer side.
config for this gateway
Code:
<gateway id="publisher"
service-interface="nl.foo.service.publication.Publisher"
default-request-channel="publications"
/>
channel:
Code:
<publish-subscribe-channel id="publications" />
I suppose i may as well add the consumer side while i'm at it...
the method to be invoked on the receiving end of the channel has the following signature:
Code:
void publish(Publication publication);
And its corresponding XML:
Code:
<service-activator input-channel="publications" ref="advertPublishService"
method="publish" />
Execution becomes blocked waiting and this is the last debug log output:
Code:
DEBUG [11-19-2008 00:04:06][org.springframework.integration.channel.PublishSubscribeChannel:169] postSend (sent=true) on channel 'publications', message: [Payload=nl.foo.domain.message.Publication@665f78a2][Headers={spring.integration.id=0bf0c288-f605-4aeb-bd1f-c00f0df5a9f4, spring.integration.replyChannel=org.springframework.integration.channel.MessageChannelTemplate$TemporaryReturnAddress@3866ee93, spring.integration.errorChannel=org.springframework.integration.channel.MessageChannelTemplate$TemporaryReturnAddress@3866ee93, spring.integration.timestamp=1227049446424}]