Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in Subscriber method; getParamters => getParameters() #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public interface Subscriber extends AcknowledgeableMessageSink {
AckMode getAckMode();
StompSession getSession();
String getParameter(String name);
Map<String,String> getParamters();
Map<String,String> getParameters();

}
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public String getParameter(String name) {
return this.parameters.get( name );
}

public Map<String,String> getParamters() {
public Map<String,String> getParameters() {
return this.parameters;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void onMessage(StompMessage message, StompSession session) throws StompEx
public void onSubscribe(Subscriber subscriber) throws StompException {
log.debug( "PXAStomplet on_subscribe: " + this.resourceManager );
String subscriptionId = subscriber.getSubscriptionId();
Subscriber xaSubscriber = new SubscriberImpl( subscriber.getSession(), stomplet, subscriptionId, subscriber.getDestination(), subscriber.getParamters(), new PseudoXAStompletAcknowledgeableMessageSink( this.resourceManager, subscriber ), subscriber.getAckMode() );
Subscriber xaSubscriber = new SubscriberImpl( subscriber.getSession(), stomplet, subscriptionId, subscriber.getDestination(), subscriber.getParameters(), new PseudoXAStompletAcknowledgeableMessageSink( this.resourceManager, subscriber ), subscriber.getAckMode() );
this.subscribers.put( subscriber.getId(), xaSubscriber );
this.stomplet.onSubscribe( xaSubscriber );
}
Expand Down